Struct PreviewSetId
Type safe wrapper around a unique id for a preview set
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 PreviewSetId
Constructors
PreviewSetId(String)
Creates from a string id
Declaration
public PreviewSetId(string id)
Parameters
Type | Name | Description |
---|---|---|
System. |
id |
Properties
Id
The id of this preview type as a string
Declaration
public readonly string Id { get; }
Property Value
Type | Description |
---|---|
System. |
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. |
obj |
Returns
Type | Description |
---|---|
System. |
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. |
Overrides
System.ValueType.GetHashCode()
ToString()
The id as a string
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
Overrides
System.ValueType.ToString()
Operators
Equality(PreviewSetId, PreviewSetId)
Returns true
if the two ids have the same Id value.
Declaration
public static bool operator ==(PreviewSetId first, PreviewSetId second)
Parameters
Type | Name | Description |
---|---|---|
Preview |
first | |
Preview |
second |
Returns
Type | Description |
---|---|
System. |
Inequality(PreviewSetId, PreviewSetId)
Returns true
if the two ids have different Id values.
Declaration
public static bool operator !=(PreviewSetId first, PreviewSetId second)
Parameters
Type | Name | Description |
---|---|---|
Preview |
first | |
Preview |
second |
Returns
Type | Description |
---|---|
System. |