Struct FileId
Typesafe wrapper for a file identifier string.
Inherited Members
Namespace: Sdl.FileTypeSupport .Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public struct FileId
Constructors
FileId(string)
Construction from a string id
Declaration
public FileId(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id |
Properties
Id
The id as a string
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Equals(object)
True if string id values are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj |
Returns
Type | Description |
---|---|
bool |
Overrides
GetHashCode()
The string id hash
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
ToString()
The id as a string
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
Operators
operator ==(FileId, FileId)
True if string id values are equal
Declaration
public static bool operator ==(FileId first, FileId second)
Parameters
Returns
Type | Description |
---|---|
bool |
operator !=(FileId, FileId)
True if string id values are not equal
Declaration
public static bool operator !=(FileId first, FileId second)
Parameters
Returns
Type | Description |
---|---|
bool |