Class CompassObjectInfo
Contains data for the CompassObjectType class that relates to the object's typename, compass source, and unique Id.
Inheritance
System.Object
CompassObjectInfo
Implements
System.IEquatable<CompassObjectInfo>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Phoenix.Controls.Compass
Assembly: Phoenix.Controls.Compass.dll
Syntax
public class CompassObjectInfo : IEquatable<CompassObjectInfo>
Constructors
View SourceCompassObjectInfo(String, String)
Initializes a new instance of the CompassObjectInfo class.
Declaration
public CompassObjectInfo(string typeName, string compassSource)
Parameters
Type | Name | Description |
---|---|---|
System.String | typeName | The name of the object type. |
System.String | compassSource | The compass that this object type belongs to. |
Properties
View SourceCompassSource
Gets the name of the compass that the object type belongs to.
Declaration
public string CompassSource { get; }
Property Value
Type | Description |
---|---|
System.String |
Id
Gets the id for this object type, which differentiates objects with the same TypeName, but that belong to different compasses.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
TypeName
Gets the name of the object type.
Declaration
public string TypeName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceEquals(CompassObjectInfo)
Declaration
public bool Equals(CompassObjectInfo other)
Parameters
Type | Name | Description |
---|---|---|
CompassObjectInfo | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
View Source
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>