RestrictColumn Constructor (String, OperationTypes, ExceptWhenPredicate)
Initializes a new instance of the RestrictColumn class.
Namespace:
Tortuga.Chain.AuditRulesAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public RestrictColumn( string columnName, OperationTypes appliesWhen, ExceptWhenPredicate exceptWhen )
Public Sub New ( _ columnName As String, _ appliesWhen As OperationTypes, _ exceptWhen As ExceptWhenPredicate _ )
public: RestrictColumn( String^ columnName, OperationTypes^ appliesWhen, ExceptWhenPredicate^ exceptWhen )
Parameters
- columnName
- Type: String
Name of the column.
- appliesWhen
- Type: Tortuga.Chain.AuditRules..::..OperationTypes
While operations are being restricted.
- exceptWhen
- Type: Tortuga.Chain.AuditRules..::..ExceptWhenPredicate
This function will return true if the rule doesn't apply to this user..