Class AttributeObjectExtensions
Inheritance
AttributeObjectExtensions
Assembly: PayrollEngine.Core.dll
Syntax
public static class AttributeObjectExtensions
Methods
ContainsAttribute(IAttributeObject, string)
Declaration
public static bool ContainsAttribute(this IAttributeObject attributeObject, string key)
Parameters
Returns
GetAttribute(IAttributeObject, string, object)
Declaration
public static object GetAttribute(this IAttributeObject attributeObject, string key, object defaultValue = null)
Parameters
Returns
GetAttributeGuid(IAttributeObject, string)
Declaration
public static Guid GetAttributeGuid(this IAttributeObject attributeObject, string key)
Parameters
Returns
GetAttribute<T>(IAttributeObject, string, T)
Declaration
public static T GetAttribute<T>(this IAttributeObject attributeObject, string key, T defaultValue = default)
Parameters
Returns
Type Parameters
RemoveAttribute(IAttributeObject, string)
Declaration
public static void RemoveAttribute(this IAttributeObject attributeObject, string key)
Parameters
SetAttribute(IAttributeObject, string, object)
Declaration
public static void SetAttribute(this IAttributeObject attributeObject, string key, object value)
Parameters
SetAttributeGuid(IAttributeObject, string, Guid)
Declaration
public static void SetAttributeGuid(this IAttributeObject attributeObject, string key, Guid value)
Parameters
SetAttribute<T>(IAttributeObject, string, T)
Declaration
public static void SetAttribute<T>(this IAttributeObject attributeObject, string key, T value)
Parameters
Type Parameters