Show / Hide Table of Contents

Class CacheRatio

Inheritance
object
CacheRatio
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine
Assembly: PayrollEngine.Core.dll
Syntax
public class CacheRatio

Constructors

CacheRatio(string, LogLevel)

Declaration
public CacheRatio(string name, LogLevel logLevel = LogLevel.Information)
Parameters
Type Name Description
string name
LogLevel logLevel

Properties

HitCount

Declaration
public int HitCount { get; }
Property Value
Type Description
int

HitRatio

Declaration
public decimal HitRatio { get; }
Property Value
Type Description
decimal

LogLevel

Declaration
public LogLevel LogLevel { get; }
Property Value
Type Description
LogLevel

MissedCount

Declaration
public int MissedCount { get; }
Property Value
Type Description
int

Name

Declaration
public string Name { get; }
Property Value
Type Description
string

Methods

UpdateWithLog(bool)

Declaration
public void UpdateWithLog(bool cached)
Parameters
Type Name Description
bool cached

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX