Class TestService
public class TestService : ContextEntity
- Inheritance
-
TestService
- Inherited Members
Constructors
TestService()
public TestService()
TestService(ROCrate?, string?, JsonObject?)
public TestService(ROCrate? crate = null, string? identifier = null, JsonObject? properties = null)
Parameters
crate
ROCrateidentifier
stringproperties
JsonObject
Properties
Name
public string? Name { get; set; }
Property Value
Url
public string? Url { get; set; }
Property Value
Methods
Deserialize(string, ROCrate)
Create a TestService from JSON properties.
public static TestService? Deserialize(string entityJson, ROCrate roCrate)
Parameters
entityJson
stringThe JSON representing the TestService
roCrate
ROCrateThe RO-Crate for the TestService
Returns
- TestService
The deserialised TestService
Serialize()
Convert TestService to JSON string.
public override string Serialize()
Returns
- string
The TestService as a JSON string.