class ThreadSafe

in global :: Sandbox

MainThread related functions.


public static int CurrentThreadId { get; }

Return the current thread's Id (CurrentThread.ManagedThreadId)

public static string CurrentThreadName { get; }

Return the current thread's name (CurrentThread.Name)

public static bool IsMainThread { get; }

Returns true if we're executing under the main thread

public static void AssertIsMainThread( string memberName = )

Throws an exception if this is not called under the main thread

public static void AssertIsNotMainThread( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.