Class DiscoveryStarting
Default implementation of IDiscoveryStarting.
[JsonTypeID("discovery-starting")]
public sealed class DiscoveryStarting : TestAssemblyMessage, IJsonDeserializable, IDiscoveryStarting, ITestAssemblyMessage, IMessageSinkMessage, IJsonSerializable
- Inheritance
-
DiscoveryStarting
- Implements
- Inherited Members
- Extension Methods
Properties
AssemblyName
Gets the assembly name. May return a simple assembly name (i.e., "mscorlib"), or may return a fully qualified name (i.e., "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089").
public required string AssemblyName { get; set; }
Property Value
Remarks
Note: Will be UnsetStringPropertyValue if there was no value provided during deserialization.
AssemblyPath
Gets the on-disk location of the assembly under test.
public required string AssemblyPath { get; set; }
Property Value
Remarks
Note: Will be UnsetStringPropertyValue if there was no value provided during deserialization.
ConfigFilePath
Gets the full path of the configuration file name, if one is present.
May be null if there is no configuration file.
public required string? ConfigFilePath { get; set; }
Property Value
Remarks
Note: Will be null if there was no value provided during deserialization.
Methods
Deserialize(IReadOnlyDictionary<string, object?>)
Override to deserialize the values in the dictionary into the message.
protected override void Deserialize(IReadOnlyDictionary<string, object?> root)
Parameters
rootIReadOnlyDictionary<string, object>The root of the JSON object
Serialize(JsonObjectSerializer)
Override to serialize the values in the message into JSON.
protected override void Serialize(JsonObjectSerializer serializer)
Parameters
serializerJsonObjectSerializerThe serializer to write values to.
ToString()
public override string ToString()