Search Results for

    Show / Hide Table of Contents

    Struct ElementExId

    Represents a Cam element identifier.

    Implements
    IEquatable<ElementExId>
    Inherited Members
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: TopSolid.Cam.NC.Kernel.Automating
    Assembly: TopSolid.Cam.NC.Kernel.Automating.dll
    Syntax
    public struct ElementExId : IEquatable<ElementExId>
    Remarks

    This class is similar of an ElementId, with additional Cam capabilities, like access to not yet created cam operations.

    Constructors

    ElementExId(Guid)

    Initializes a new instance of the ParameterId structure.

    Declaration
    public ElementExId(Guid inId)
    Parameters
    Type Name Description
    Guid inId

    Id of preparation operation.

    ElementExId(ElementId)

    Initializes a new instance of the ParameterId structure.

    Declaration
    public ElementExId(ElementId inElementId)
    Parameters
    Type Name Description
    ElementId inElementId

    Element owner of the parameter.

    Fields

    Empty

    Empty identifier.

    Declaration
    public static readonly ElementExId Empty
    Field Value
    Type Description
    ElementExId

    Properties

    ElementId

    Gets the identifier of the owner element. Id is empty in this ElementId is not empty.

    Declaration
    public readonly ElementId ElementId { get; }
    Property Value
    Type Description
    ElementId

    Id

    Gets the Id of a prepared operation. ElementId is empty in this Id is not empty.

    Declaration
    public readonly Guid Id { get; }
    Property Value
    Type Description
    Guid

    IsCreated

    Checks if the operation is created, and defined by an ElementId.

    Declaration
    public readonly bool IsCreated { get; }
    Property Value
    Type Description
    Boolean

    IsEmpty

    Tells whether the parameter identifier is empty.

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

    IsPreparation

    Checks if the operation is in preparation, and defined by a Guid.

    Declaration
    public readonly bool IsPreparation { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Equals(Object)

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

    Equals(ElementExId)

    Implements Equals(Object).

    Declaration
    public bool Equals(ElementExId other)
    Parameters
    Type Name Description
    ElementExId other
    Returns
    Type Description
    Boolean

    GetHashCode()

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

    Operators

    Equality(ElementExId, ElementExId)

    Tells whether two parameter identifiers are equal.

    Declaration
    public static bool operator ==(ElementExId inParameterId1, ElementExId inParameterId2)
    Parameters
    Type Name Description
    ElementExId inParameterId1

    First parameter identifier.

    ElementExId inParameterId2

    Second parameter identifier.

    Returns
    Type Description
    Boolean

    Parameter identifiers are equal.

    Inequality(ElementExId, ElementExId)

    Tells whether two parameter identifiers are different.

    Declaration
    public static bool operator !=(ElementExId inParameterId1, ElementExId inParameterId2)
    Parameters
    Type Name Description
    ElementExId inParameterId1

    First parameter identifier.

    ElementExId inParameterId2

    Second parameter identifier.

    Returns
    Type Description
    Boolean

    Parameter identifiers are different.

    Implements

    System.IEquatable<T>
    In This Article
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2024 TopSolid - All rights reserved.