Class RelationSpecification
Inheritance
System.Object
RelationSpecification
Assembly: Stylelabs.M.Sdk.dll
Syntax
public class RelationSpecification : object, IRelationSpecification
RelationSpecification()
Creates a default specification.
Declaration
public RelationSpecification()
RelationSpecification(IRelationSpecification)
Creates a copy of the specified specification.
Declaration
public RelationSpecification(IRelationSpecification spec)
Parameters
RelationSpecification(String, Nullable<RelationRole>)
Declaration
public RelationSpecification(string name, RelationRole? role = null)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Nullable<RelationRole> |
role |
|
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Role
Declaration
public RelationRole? Role { get; set; }
Property Value
DeepClone()
Declaration
public IRelationSpecification DeepClone()
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|