Struct PreviewControlId
Type safe wrapper around a preview control type id
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public struct PreviewControlId
Constructors
PreviewControlId(string)
Declaration
public PreviewControlId(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Properties
Id
The id for this preview type as a string
Declaration
public string Id { get; }
Property Value
Methods
Equals(object)
Returns true
if the objects have the same id value.
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Returns a hash code based on the id value.
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(PreviewControlId, PreviewControlId)
Returns true
if the two ids have the same Id value.
Declaration
public static bool operator ==(PreviewControlId first, PreviewControlId second)
Parameters
Returns
operator !=(PreviewControlId, PreviewControlId)
Returns true
if the two ids have different Id values.
Declaration
public static bool operator !=(PreviewControlId first, PreviewControlId second)
Parameters
Returns