Class Context
Context information, organized as a tree structure.
Implements
System.IEquatable<MetadataContainer>
System.IEquatable<SkeletonItem>
System.IEquatable<Context>
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel.Skeleton
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class Context : SkeletonItem, ICloneable<Context>
Constructors
Context()
Declaration
public Context()
Properties
ContextDefinitionId
Id of the ContextDefinition object holding the data for this specific Context element.
Declaration
public int ContextDefinitionId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ParentContextId
The id of the parent Context element.
Declaration
public int ParentContextId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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 |
---|---|
System.Boolean | true if the current object is equal to the |
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. |
Implements
System.IEquatable<>
System.IEquatable<>
System.IEquatable<>