Show / Hide Table of Contents

    Class ApplicationStorageExtensions

    Inheritance
    Object
    ApplicationStorageExtensions
    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 ApplicationStorageExtensions

    Methods

    | Improve this Doc View Source

    EmbeddedResourceAvailable(String, Assembly)

    Declaration
    public static bool EmbeddedResourceAvailable(string resourceId, Assembly assembly = null)
    Parameters
    Type Name Description
    String resourceId
    Assembly assembly
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    EmbeddedResourceStreamReader(String, Assembly)

    Declaration
    public static StreamReader EmbeddedResourceStreamReader(string resourceId, Assembly assembly = null)
    Parameters
    Type Name Description
    String resourceId
    Assembly assembly
    Returns
    Type Description
    StreamReader
    | Improve this Doc View Source

    EmbeddedStoredText(String, Assembly)

    Declaration
    public static string EmbeddedStoredText(string resourceId, Assembly assembly = null)
    Parameters
    Type Name Description
    String resourceId
    Assembly assembly
    Returns
    Type Description
    String
    | Improve this Doc View Source

    JsonFromStorage(String, String)

    Declaration
    public static string JsonFromStorage(string uid, string fileName)
    Parameters
    Type Name Description
    String uid
    String fileName
    Returns
    Type Description
    String
    | Improve this Doc View Source

    ListResources(StreamSource, Assembly)

    Declaration
    public static List<string> ListResources(StreamSource source, Assembly assembly = null)
    Parameters
    Type Name Description
    StreamSource source
    Assembly assembly
    Returns
    Type Description
    List<String>
    | Improve this Doc View Source

    LoadLocalStorageText(String, String)

    Declaration
    public static string LoadLocalStorageText(string uid, string fileName)
    Parameters
    Type Name Description
    String uid
    String fileName
    Returns
    Type Description
    String
    | Improve this Doc View Source

    LoadSerializedEmbeddedResource<TType>(String, Assembly, TType)

    Declaration
    public static TType LoadSerializedEmbeddedResource<TType>(string resourceName, Assembly assembly = null, TType defaultValue = null)
    Parameters
    Type Name Description
    String resourceName
    Assembly assembly
    TType defaultValue
    Returns
    Type Description
    TType
    Type Parameters
    Name Description
    TType
    | Improve this Doc View Source

    LoadSerializedResource<TType>(String, String, Assembly, TType)

    Declaration
    public static TType LoadSerializedResource<TType>(string uid, string resourceName, Assembly assembly = null, TType defaultValue = null)
    Parameters
    Type Name Description
    String uid
    String resourceName
    Assembly assembly
    TType defaultValue
    Returns
    Type Description
    TType
    Type Parameters
    Name Description
    TType
    | Improve this Doc View Source

    LoadText(String, String, Assembly)

    Declaration
    public static string LoadText(string uid, string fileName, Assembly assembly = null)
    Parameters
    Type Name Description
    String uid
    String fileName
    Assembly assembly
    Returns
    Type Description
    String
    | Improve this Doc View Source

    LocalPath(String, String)

    Declaration
    public static string LocalPath(string uid, string fileName)
    Parameters
    Type Name Description
    String uid
    String fileName
    Returns
    Type Description
    String
    | Improve this Doc View Source

    LocalResourceAvailable(String, String)

    Declaration
    public static bool LocalResourceAvailable(string uid, string fileName)
    Parameters
    Type Name Description
    String uid
    String fileName
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    LocalStreamReader(String, String)

    Declaration
    public static StreamReader LocalStreamReader(string uid, string fileName)
    Parameters
    Type Name Description
    String uid
    String fileName
    Returns
    Type Description
    StreamReader
    | Improve this Doc View Source

    LocalStreamWriter(String, String)

    Declaration
    public static StreamWriter LocalStreamWriter(string uid, string fileName)
    Parameters
    Type Name Description
    String uid
    String fileName
    Returns
    Type Description
    StreamWriter
    | Improve this Doc View Source

    ResourceAvailable(String, String, Assembly, StreamSource)

    Declaration
    public static bool ResourceAvailable(string uid, string resourceName, Assembly assembly = null, StreamSource source = StreamSource.Default)
    Parameters
    Type Name Description
    String uid
    String resourceName
    Assembly assembly
    StreamSource source
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    ResourceStreamReader(String, String, Assembly, StreamSource)

    Declaration
    public static StreamReader ResourceStreamReader(string uid, string resourceName, Assembly assembly = null, StreamSource source = StreamSource.Default)
    Parameters
    Type Name Description
    String uid
    String resourceName
    Assembly assembly
    StreamSource source
    Returns
    Type Description
    StreamReader
    | Improve this Doc View Source

    ResourceStreamWriter(String, String)

    Declaration
    public static StreamWriter ResourceStreamWriter(string uid, string resourceName)
    Parameters
    Type Name Description
    String uid
    String resourceName
    Returns
    Type Description
    StreamWriter
    | Improve this Doc View Source

    StoreSerializedResource<TType>(String, TType, String)

    Declaration
    public static void StoreSerializedResource<TType>(string uid, TType obj, string resourceName)
    Parameters
    Type Name Description
    String uid
    TType obj
    String resourceName
    Type Parameters
    Name Description
    TType
    | Improve this Doc View Source

    StoreText(String, String, String)

    Declaration
    public static void StoreText(string uid, string text, string fileName)
    Parameters
    Type Name Description
    String uid
    String text
    String fileName
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018 42nd Parallel