Class SecurityManagerConfigurationExtensions
Inheritance
System.Object
SecurityManagerConfigurationExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Web.Security
Assembly: ImageVault.Web.dll
Syntax
public static class SecurityManagerConfigurationExtensions
Methods
GetAsBool(ISecurityManagerConfiguration, String)
Declaration
public static bool GetAsBool(this ISecurityManagerConfiguration config, string key)
Parameters
Type | Name | Description |
---|---|---|
ISecurityManagerConfiguration | config | |
System.String | key |
Returns
Type | Description |
---|---|
System.Boolean |
GetAsTimeSpan(ISecurityManagerConfiguration, String, TimeSpan)
Declaration
public static TimeSpan GetAsTimeSpan(this ISecurityManagerConfiguration config, string key, TimeSpan defaultValue)
Parameters
Type | Name | Description |
---|---|---|
ISecurityManagerConfiguration | config | |
System.String | key | |
System.TimeSpan | defaultValue |
Returns
Type | Description |
---|---|
System.TimeSpan |