Class MetadataSpecProperty
Represents metadata property referencing specification object by id.
public class MetadataSpecProperty : MetadataProperty, IEquatable<MetadataSpecProperty>
- Inheritance
-
MetadataSpecProperty
- Implements
- Inherited Members
Constructors
MetadataSpecProperty(string)
Creates new instance of MetadataSpecProperty.
public MetadataSpecProperty(string specId)
Parameters
specId
string
Properties
Id
Gets specification id.
public string Id { get; }
Property Value
Methods
Equals(MetadataSpecProperty)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(MetadataSpecProperty other)
Parameters
other
MetadataSpecPropertyAn object to compare with this object.
Returns
- bool
true if the current object is equal to the
other
parameter; otherwise, false.
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
- bool
true if the specified object is equal to the current object; otherwise, false.
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
public override string ToString()