Class ProtoDataValueContext
Per-member context supplied to configured value providers.
public sealed class ProtoDataValueContext
- Inheritance
-
ProtoDataValueContext
- Inherited Members
- Extension Methods
Properties
MemberName
public string MemberName { get; }
Property Value
ObjectSequence
public long ObjectSequence { get; }
Property Value
Services
public IServiceProvider Services { get; }
Property Value
TargetType
public Type TargetType { get; }
Property Value
TestId
public string TestId { get; }
Property Value
ValueType
public Type ValueType { get; }
Property Value
Methods
NextGuid()
Creates a reproducible GUID unique to this object member and call index.
public Guid NextGuid()
Returns
NextString()
Creates a readable deterministic string for this member.
public string NextString()
Returns
Ref<T>(string?)
Resolves an object provisioned earlier in this test, so a default can reference it.
public T Ref<T>(string? identity = null)
Parameters
identitystring
Returns
- T
Type Parameters
T