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
- crateROCrate
- identifierstring
- propertiesJsonObject
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
- entityJsonstring
- The JSON representing the TestService 
- roCrateROCrate
- The 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.