Search Results for

    Show / Hide Table of Contents

    Struct PropertyDefinition

    Represents a property definition.

    Implements
    System.IEquatable<PropertyDefinition>
    Inherited Members
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: TopSolid.Kernel.Automating
    Assembly: cs.temp.dll.dll
    Syntax
    [AvailableSinceVersion(7, 12, 0, 0)]
    public struct PropertyDefinition : IEquatable<PropertyDefinition>
    Remarks

    This structure is available since v7.12.

    Constructors

    PropertyDefinition(String, String)

    Initializes a new instance of the PropertyDefinition structure.

    Declaration
    public PropertyDefinition(string inDomain, string inName)
    Parameters
    Type Name Description
    System.String inDomain

    Property domain.

    System.String inName

    Property name.

    Fields

    Domain

    Property domain, or null if empty.

    Declaration
    public string Domain
    Field Value
    Type Description
    System.String

    Empty

    Empty definition.

    Declaration
    public static readonly PropertyDefinition Empty
    Field Value
    Type Description
    PropertyDefinition

    Name

    Property name, or null if empty.

    Declaration
    public string Name
    Field Value
    Type Description
    System.String

    Properties

    IsEmpty

    Tells whether the property definition is empty.

    Declaration
    public readonly bool IsEmpty { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object inObject)
    Parameters
    Type Name Description
    System.Object inObject
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    Equals(PropertyDefinition)

    Declaration
    public bool Equals(PropertyDefinition other)
    Parameters
    Type Name Description
    PropertyDefinition other
    Returns
    Type Description
    System.Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()

    Operators

    Equality(PropertyDefinition, PropertyDefinition)

    Tells whether two property definitions are equal.

    Declaration
    public static bool operator ==(PropertyDefinition inPropertyDefinition1, PropertyDefinition inPropertyDefinition2)
    Parameters
    Type Name Description
    PropertyDefinition inPropertyDefinition1

    First property definition.

    PropertyDefinition inPropertyDefinition2

    Second property definition.

    Returns
    Type Description
    System.Boolean

    Property definitions are equal.

    Inequality(PropertyDefinition, PropertyDefinition)

    Tells whether two property definitions are different.

    Declaration
    public static bool operator !=(PropertyDefinition inPropertyDefinition1, PropertyDefinition inPropertyDefinition2)
    Parameters
    Type Name Description
    PropertyDefinition inPropertyDefinition1

    First property definition.

    PropertyDefinition inPropertyDefinition2

    Second property definition.

    Returns
    Type Description
    System.Boolean

    Property definitions are different.

    Implements

    System.IEquatable<T>
    In This Article
    • Mentions légales
    • C.G.U
    • Données personnelles

    Copyright © 2024 TopSolid Tous droits réservés