Class Context
Context information, organized as a tree structure.
Implements
Inherited Members
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 |
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
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for this instance. |
Overrides
ToString()
Converts to string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents this instance. |