Class Utilities
Inheritance
System.Object
Utilities
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: FM.LiveSwitch.Cocoa.dll
Syntax
Methods
CheckError(Int32, String)
Declaration
public static void CheckError(int error, string message)
Parameters
Type |
Name |
Description |
System.Int32 |
error |
|
System.String |
message |
|
DataBufferWrap(IntPtr, Int32)
Wraps a native byte array. Currently copies the data into a managed byte array.
Declaration
public static DataBuffer DataBufferWrap(IntPtr data, int length)
Parameters
Type |
Name |
Description |
System.IntPtr |
data |
|
System.Int32 |
length |
|
Returns
DispatchAsync(DispatchQueuePriority, Action)
Declaration
public static void DispatchAsync(DispatchQueuePriority priority, Action action)
Parameters
Type |
Name |
Description |
CoreFoundation.DispatchQueuePriority |
priority |
|
System.Action |
action |
|
DispatchAsync(Action)
Declaration
public static void DispatchAsync(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
DispatchAsync(Action, Boolean)
Declaration
public static void DispatchAsync(Action action, bool autoRelease)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
System.Boolean |
autoRelease |
|
DispatchQueueCreate(String, Boolean)
Declaration
public static DispatchQueue DispatchQueueCreate(string label, bool concurrent)
Parameters
Type |
Name |
Description |
System.String |
label |
|
System.Boolean |
concurrent |
|
Returns
Type |
Description |
CoreFoundation.DispatchQueue |
|
DispatchRelease(DispatchQueue)
Declaration
public static void DispatchRelease(DispatchQueue queue)
Parameters
Type |
Name |
Description |
CoreFoundation.DispatchQueue |
queue |
|
DispatchSync(Action)
Declaration
public static void DispatchSync(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
IsMainThread()
Declaration
public static bool IsMainThread()
Returns
Type |
Description |
System.Boolean |
|
LogError(Int32, String)
Declaration
public static int LogError(int error, string message)
Parameters
Type |
Name |
Description |
System.Int32 |
error |
|
System.String |
message |
|
Returns
Type |
Description |
System.Int32 |
|