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. |
The description. |
DisplayCode
Gets or sets the context display code.
Declaration
public string DisplayCode { get; set; }
Property Value
Type | Description |
---|---|
System. |
The context display code. |
DisplayColor
Gets or sets the context display color.
Declaration
public string DisplayColor { get; set; }
Property Value
Type | Description |
---|---|
System. |
The context display color. |
DisplayName
Gets or sets the context display name.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System. |
The context display name. |
FormattingGroupId
Gets or sets the formatting group identifier.
Declaration
public int FormattingGroupId { get; set; }
Property Value
Type | Description |
---|---|
System. |
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. |
|
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. |
|
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. |
|
IsTmStructureContext
Gets a value indicating whether this instance is a TM structure context.
Declaration
public bool IsTmStructureContext { get; }
Property Value
Type | Description |
---|---|
System. |
|
TypeId
Gets or sets the context type identifier.
Declaration
public string TypeId { get; set; }
Property Value
Type | Description |
---|---|
System. |
The context type identifier. |
Methods
Clone()
Clones this instance.
Declaration
public ContextDefinition Clone()
Returns
Type | Description |
---|---|
Context |
Equals(ContextDefinition)
Performs a deep-equals comparison.
System.
Declaration
public bool Equals(ContextDefinition other)
Parameters
Type | Name | Description |
---|---|---|
Context |
other |
Returns
Type | Description |
---|---|
System. |
Equals(Object)
Performs a deep-equals comparison.
System.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj |
Returns
Type | Description |
---|---|
System. |
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
A hash code for this instance. |
Overrides
ToString()
Converts to string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
A System. |