logo
logo
  • Class RelationSpecification

    Inheritance
    System.Object
    RelationSpecification
    Namespace: Stylelabs.M.Framework.Essentials.LoadOptions
    Assembly: Stylelabs.M.Sdk.dll
    Syntax
    public class RelationSpecification : object, IRelationSpecification

    Constructors

    RelationSpecification()

    Creates a default specification.

    Declaration
    public RelationSpecification()

    RelationSpecification(IRelationSpecification)

    Creates a copy of the specified specification.

    Declaration
    public RelationSpecification(IRelationSpecification spec)
    Parameters
    Type Name Description
    IRelationSpecification spec

    Relation specification.

    RelationSpecification(String, Nullable<RelationRole>)

    Creates a new instance of RelationSpecification with a specified name and optional role.

    Declaration
    public RelationSpecification(string name, RelationRole? role = null)
    Parameters
    Type Name Description
    System.String name
    System.Nullable<RelationRole> role

    Properties

    Name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Role

    Declaration
    public RelationRole? Role { get; set; }
    Property Value
    Type Description
    System.Nullable<RelationRole>

    Methods

    DeepClone()

    Declaration
    public IRelationSpecification DeepClone()
    Returns
    Type Description
    IRelationSpecification

    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

    Implements

    Can we improve this article ? Provide feedback