Search Results for

    Show / Hide Table of Contents

    Class LazyFunc

    Lazy functions

    Inheritance
    System.Object
    LazyFunc
    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.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LibSugar
    Assembly: LibSugar.dll
    Syntax
    public static class LazyFunc

    Methods

    | Improve this Doc View Source

    Create<T>(Func<T>, Boolean)

    Make a lazy function

    Declaration
    public static Func<T> Create<T>(Func<T> fn, bool threadSafe = true)
    Parameters
    Type Name Description
    System.Func<T> fn
    System.Boolean threadSafe
    Returns
    Type Description
    System.Func<T>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    Create<P1, T>(Func<P1, T>, Boolean)

    Make a lazy function

    Declaration
    public static Func<P1, T> Create<P1, T>(Func<P1, T> fn, bool threadSafe = true)
    Parameters
    Type Name Description
    System.Func<P1, T> fn
    System.Boolean threadSafe
    Returns
    Type Description
    System.Func<P1, T>
    Type Parameters
    Name Description
    P1
    T
    | Improve this Doc View Source

    Create<P1, P2, T>(Func<P1, P2, T>, Boolean)

    Make a lazy function

    Declaration
    public static Func<P1, P2, T> Create<P1, P2, T>(Func<P1, P2, T> fn, bool threadSafe = true)
    Parameters
    Type Name Description
    System.Func<P1, P2, T> fn
    System.Boolean threadSafe
    Returns
    Type Description
    System.Func<P1, P2, T>
    Type Parameters
    Name Description
    P1
    P2
    T
    | Improve this Doc View Source

    Create<P1, P2, P3, T>(Func<P1, P2, P3, T>, Boolean)

    Make a lazy function

    Declaration
    public static Func<P1, P2, P3, T> Create<P1, P2, P3, T>(Func<P1, P2, P3, T> fn, bool threadSafe = true)
    Parameters
    Type Name Description
    System.Func<P1, P2, P3, T> fn
    System.Boolean threadSafe
    Returns
    Type Description
    System.Func<P1, P2, P3, T>
    Type Parameters
    Name Description
    P1
    P2
    P3
    T
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © LibSugar.
    Generated by DocFX