Catel.Windows.Threading.DispatcherHelper.CheckAccess C# (CSharp) Method

CheckAccess() public static method

Checks the access of the dispatcher.
The is null.
public static CheckAccess ( this dispatcher ) : bool
dispatcher this The dispatcher.
return bool
        public static bool CheckAccess(this CoreDispatcher dispatcher)
        {
            Argument.IsNotNull("dispatcher", dispatcher);

            return dispatcher.HasThreadAccess;
        }