Show / Hide Table of Contents

    Class Environment

    Inheritance
    Object
    Environment
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: P42.Utils
    Assembly: P42.Utils.dll
    Syntax
    public static class Environment

    Fields

    | Improve this Doc View Source

    EmbeddedResourceAssemblyResolver

    Declaration
    public static Func<string, Assembly> EmbeddedResourceAssemblyResolver
    Field Value
    Type Description
    Func<String, Assembly>
    | Improve this Doc View Source

    PlatformPathLoader

    Declaration
    public static Action PlatformPathLoader
    Field Value
    Type Description
    Action

    Properties

    | Improve this Doc View Source

    ApplicationCachePath

    Declaration
    public static string ApplicationCachePath { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    ApplicationDataPath

    Declaration
    public static string ApplicationDataPath { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    IsHeadlessTest

    Gets or sets a value indicating whether this Environment is headless test (and thus the MainThreadId is questionable).

    Declaration
    public static bool IsHeadlessTest { get; set; }
    Property Value
    Type Description
    Boolean

    true if is headless test; otherwise, false.

    | Improve this Doc View Source

    IsOnMainThread

    Gets a value indicating whether this Environment is on main thread.

    Declaration
    public static bool IsOnMainThread { get; }
    Property Value
    Type Description
    Boolean

    true if is on main thread; otherwise, false.

    | Improve this Doc View Source

    MainThreadId

    Gets or sets the main thread identifier.

    Declaration
    public static int MainThreadId { get; set; }
    Property Value
    Type Description
    Int32

    The main thread identifier.

    | Improve this Doc View Source

    TemporaryStoragePath

    Declaration
    public static string TemporaryStoragePath { get; set; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    GetOperatingSystem()

    Gets the operating system.

    Declaration
    public static string GetOperatingSystem()
    Returns
    Type Description
    String

    The operating system.

    | Improve this Doc View Source

    Init()

    Declaration
    public static void Init()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018 42nd Parallel