Search Results for

    Show / Hide Table of Contents

    Class ContextDefinition

    Holds context data. Can be referenced by multiple Context elements.

    Inheritance
    System.Object
    ExtensionDataContainer
    MetadataContainer
    SkeletonItem
    ContextDefinition
    Implements
    System.IEquatable<MetadataContainer>
    System.IEquatable<SkeletonItem>
    ICloneable<ContextDefinition>
    System.IEquatable<ContextDefinition>
    Inherited Members
    SkeletonItem.Equals(SkeletonItem)
    SkeletonItem.Id
    MetadataContainer.GetMetadata(String)
    MetadataContainer.SetMetadata(String, String)
    MetadataContainer.Equals(MetadataContainer)
    MetadataContainer.ShouldSerialize_metadata()
    MetadataContainer.Metadata
    ExtensionDataContainer.ExtensionData
    Namespace: Sdl.Core.Bcm.BcmModel.Skeleton
    Assembly: Sdl.Core.Bcm.BcmModel.dll
    Syntax
    public class ContextDefinition : SkeletonItem, ICloneable<ContextDefinition>

    Constructors

    ContextDefinition()

    Declaration
    public ContextDefinition()

    Properties

    Description

    Gets or sets the description.

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

    The description.

    DisplayCode

    Gets or sets the context display code.

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

    The context display code.

    DisplayColor

    Gets or sets the context display color.

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

    The context display color.

    DisplayName

    Gets or sets the context display name.

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

    The context display name.

    FormattingGroupId

    Gets or sets the formatting group identifier.

    Declaration
    public int FormattingGroupId { get; set; }
    Property Value
    Type Description
    System.Int32

    The formatting group identifier.

    IsSidContext

    Gets a value indicating whether this instance is sID context.

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

    true if this instance is sID context; otherwise, false.

    IsStructureContext

    Gets or sets a value indicating whether this instance is a structure context.

    Declaration
    public bool IsStructureContext { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is a structure context; otherwise, false.

    IsTmContext

    Gets or sets a value indicating whether this instance is a TM context.

    Declaration
    public bool IsTmContext { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is TM context; otherwise, false.

    IsTmStructureContext

    Gets a value indicating whether this instance is a TM structure context.

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

    true if this instance is a TM structure context; otherwise, false.

    TypeId

    Gets or sets the context type identifier.

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

    The context type identifier.

    Methods

    Clone()

    Clones this instance.

    Declaration
    public ContextDefinition Clone()
    Returns
    Type Description
    ContextDefinition

    Equals(ContextDefinition)

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

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

    Equals(Object)

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

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

    GetHashCode()

    Returns a hash code for this instance.

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

    A hash code for this instance.

    Overrides
    SkeletonItem.GetHashCode()

    ToString()

    Converts to string.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A System.String that represents this instance.

    Implements

    System.IEquatable<>
    System.IEquatable<>
    ICloneable<T>
    System.IEquatable<>

    On this page

    Back to top Generated by DocFX