Struct PreviewApplicationId
Type safe wrapper around a preview application type id
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public struct PreviewApplicationId
Constructors
PreviewApplicationId(String)
Creates from a string id.
Declaration
public PreviewApplicationId(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id |
Properties
Id
The id for this preview type as a string
Declaration
public readonly string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(Object)
Returns true
if the objects have the same id value.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
Returns a hash code based on the id value.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.ValueType.GetHashCode()
ToString()
The id as a string
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.ValueType.ToString()
Operators
Equality(PreviewApplicationId, PreviewApplicationId)
Returns true
if the two ids have the same Id value.
Declaration
public static bool operator ==(PreviewApplicationId first, PreviewApplicationId second)
Parameters
Type | Name | Description |
---|---|---|
PreviewApplicationId | first | |
PreviewApplicationId | second |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(PreviewApplicationId, PreviewApplicationId)
Returns true
if the two ids have different Id values.
Declaration
public static bool operator !=(PreviewApplicationId first, PreviewApplicationId second)
Parameters
Type | Name | Description |
---|---|---|
PreviewApplicationId | first | |
PreviewApplicationId | second |
Returns
Type | Description |
---|---|
System.Boolean |