Search Results for

    Show / Hide Table of Contents

    Class Context

    Context information, organized as a tree structure.

    Inheritance
    object
    ExtensionDataContainer
    MetadataContainer
    SkeletonItem
    Context
    Implements
    IEquatable<MetadataContainer>
    IEquatable<SkeletonItem>
    ICloneable<Context>
    IEquatable<Context>
    Inherited Members
    SkeletonItem.Equals(SkeletonItem)
    SkeletonItem.Id
    MetadataContainer.GetMetadata(string)
    MetadataContainer.SetMetadata(string, string)
    MetadataContainer.Equals(MetadataContainer)
    MetadataContainer.ShouldSerialize_metadata()
    MetadataContainer.Metadata
    ExtensionDataContainer.ExtensionData
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Sdl.Core.Bcm.BcmModel.Skeleton
    Assembly: Sdl.Core.Bcm.BcmModel.dll
    Syntax
    [DataContract]
    public class Context : SkeletonItem, IEquatable<MetadataContainer>, IEquatable<SkeletonItem>, ICloneable<Context>, IEquatable<Context>

    Constructors

    Context()

    Declaration
    public Context()

    Properties

    ContextDefinitionId

    Id of the ContextDefinition object holding the data for this specific Context element.

    Declaration
    [DataMember(Name = "contextDefinitionId")]
    public int ContextDefinitionId { get; set; }
    Property Value
    Type Description
    int

    ParentContextId

    The id of the parent Context element.

    Declaration
    [DataMember(Name = "parentContextId", EmitDefaultValue = false)]
    public int ParentContextId { get; set; }
    Property Value
    Type Description
    int

    Methods

    Clone()

    Clones this instance.

    Declaration
    public Context Clone()
    Returns
    Type Description
    Context

    A clone of this instance.

    Equals(Context)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(Context other)
    Parameters
    Type Name Description
    Context other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    Equals(object)

    Performs a deep-equals comparison.
    System.Object.Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    SkeletonItem.Equals(object)

    GetHashCode()

    Returns a hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for this instance.

    Overrides
    SkeletonItem.GetHashCode()

    ToString()

    Converts to string.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents this instance.

    Overrides
    object.ToString()

    Implements

    IEquatable<T>
    IEquatable<T>
    ICloneable<T>
    IEquatable<T>
    In this article
    Back to top Generated by DocFX