PRIMAVERA | Developers

    Show / Hide Table of Contents

    Interface IStdBSCache

    Namespace: StdPlatBS100
    Assembly: StdPlatBS100.dll
    Syntax
    [ComVisible(true)]
    [Guid("E20A320C-E919-4140-A8F6-E4FDD6CBE1FC")]
    public interface IStdBSCache

    Properties

    Enabled

    Declaration
    bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    AddDynamicObject(String, String, Object)

    Declaration
    bool AddDynamicObject(string strCacheKey, string strObjectKey, object objValue)
    Parameters
    Type Name Description
    System.String strCacheKey
    System.String strObjectKey
    System.Object objValue
    Returns
    Type Description
    System.Boolean

    AddDynamicValue(String, String, Object)

    Declaration
    bool AddDynamicValue(string strCacheKey, string strValueKey, object objValue)
    Parameters
    Type Name Description
    System.String strCacheKey
    System.String strValueKey
    System.Object objValue
    Returns
    Type Description
    System.Boolean

    AddStaticObject(String, String, Object)

    Declaration
    bool AddStaticObject(string strCacheKey, string strObjectKey, object objValue)
    Parameters
    Type Name Description
    System.String strCacheKey
    System.String strObjectKey
    System.Object objValue
    Returns
    Type Description
    System.Boolean

    AddStaticValue(String, String, Object)

    Declaration
    bool AddStaticValue(string strCacheKey, string strValueKey, object objValue)
    Parameters
    Type Name Description
    System.String strCacheKey
    System.String strValueKey
    System.Object objValue
    Returns
    Type Description
    System.Boolean

    BuildKey(Object[])

    Declaration
    string BuildKey(params object[] params_Renamed)
    Parameters
    Type Name Description
    System.Object[] params_Renamed
    Returns
    Type Description
    System.String

    Clear(String)

    Declaration
    void Clear(string strKey = "")
    Parameters
    Type Name Description
    System.String strKey

    ClearDynamic(String)

    Declaration
    void ClearDynamic(string strKey)
    Parameters
    Type Name Description
    System.String strKey

    ClearStatic(String)

    Declaration
    void ClearStatic(string strKey)
    Parameters
    Type Name Description
    System.String strKey

    Config(Int32, Int32, Int32, Int32, Boolean, String)

    Declaration
    bool Config(int expirationTimeInSeconds, int expirationFrequencyInSeconds, int MaximumElementsBeforeScavenging, int numberToRemoveWhenScavenging, bool traceEnabled, string strKey = "")
    Parameters
    Type Name Description
    System.Int32 expirationTimeInSeconds
    System.Int32 expirationFrequencyInSeconds
    System.Int32 MaximumElementsBeforeScavenging
    System.Int32 numberToRemoveWhenScavenging
    System.Boolean traceEnabled
    System.String strKey
    Returns
    Type Description
    System.Boolean

    Create(String)

    Declaration
    object Create(string strKey)
    Parameters
    Type Name Description
    System.String strKey
    Returns
    Type Description
    System.Object

    Destroy(String)

    Declaration
    void Destroy(string strKey = "")
    Parameters
    Type Name Description
    System.String strKey

    Dump(String)

    Declaration
    object Dump(string strKey)
    Parameters
    Type Name Description
    System.String strKey
    Returns
    Type Description
    System.Object

    GetDynamic(String)

    Declaration
    IDynamicCacheManager GetDynamic(string strKey)
    Parameters
    Type Name Description
    System.String strKey
    Returns
    Type Description
    StdCaching.IDynamicCacheManager

    GetDynamicObject(String, String)

    Declaration
    object GetDynamicObject(string strCacheKey, string strObjectKey)
    Parameters
    Type Name Description
    System.String strCacheKey
    System.String strObjectKey
    Returns
    Type Description
    System.Object

    GetDynamicValue(String, String)

    Declaration
    object GetDynamicValue(string strCacheKey, string strValueKey)
    Parameters
    Type Name Description
    System.String strCacheKey
    System.String strValueKey
    Returns
    Type Description
    System.Object

    GetStatic(String)

    Declaration
    IStaticCacheManager GetStatic(string strKey)
    Parameters
    Type Name Description
    System.String strKey
    Returns
    Type Description
    StdCaching.IStaticCacheManager

    GetStaticObject(String, String)

    Declaration
    object GetStaticObject(string strCacheKey, string strObjectKey)
    Parameters
    Type Name Description
    System.String strCacheKey
    System.String strObjectKey
    Returns
    Type Description
    System.Object

    GetStaticValue(String, String)

    Declaration
    object GetStaticValue(string strCacheKey, string strValueKey)
    Parameters
    Type Name Description
    System.String strCacheKey
    System.String strValueKey
    Returns
    Type Description
    System.Object