Struct FileId
Typesafe wrapper for a file identifier string.
Inherited Members
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
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 |
|---|---|
| Boolean |
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
The string id hash
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| Int32 |
Overrides
System.ValueType.GetHashCode()
ToString()
The id as a string
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String |
Overrides
System.ValueType.ToString()
Operators
Equality(FileId, FileId)
True if string id values are equal
Declaration
public static bool operator ==(FileId first, FileId second)
Parameters
| Type | Name | Description |
|---|---|---|
| FileId | first | |
| FileId | second |
Returns
| Type | Description |
|---|---|
| Boolean |
Inequality(FileId, FileId)
True if string id values are not equal
Declaration
public static bool operator !=(FileId first, FileId second)
Parameters
| Type | Name | Description |
|---|---|---|
| FileId | first | |
| FileId | second |
Returns
| Type | Description |
|---|---|
| Boolean |