Class ContextDefinition
Holds context data. Can be referenced by multiple Context elements.
Implements
Inherited Members
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 |
|
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 |
|
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 |
|
IsTmStructureContext
Gets a value indicating whether this instance is a TM structure context.
Declaration
public bool IsTmStructureContext { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
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
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
ToString()
Converts to string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |