Class TraitDefinition
Inheritance
TraitDefinition
Syntax
public class TraitDefinition : IEquatable<TraitDefinition>, IEquatable<TraitRequirement>
Constructors
TraitDefinition(String, Type)
Declaration
public TraitDefinition(string traitName, Type type)
Parameters
Fields
TraitName
Declaration
public readonly string TraitName
Field Value
Type
The type of the trait's value
Declaration
public readonly Type Type
Field Value
Methods
Equals(TraitDefinition)
Declaration
public bool Equals(TraitDefinition other)
Parameters
Returns
Equals(TraitRequirement)
Declaration
public bool Equals(TraitRequirement obj)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides