IValidationSourceAdmin
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IValidationSourceAdmin
Methods
GetAllValidateRules()
View Source
Declaration
List<ValidationRule> GetAllValidateRules()
Returns
System.Collections.Generic.List<ServiceStack.ValidationRule>
GetAllValidateRulesAsync()
View Source
Declaration
Task<List<ValidationRule>> GetAllValidateRulesAsync()
Returns
System.Threading.Tasks.Task<System.Collections.Generic.List<ServiceStack.ValidationRule>>
GetAllValidateRulesAsync(String)
View Source
Declaration
Task<List<ValidationRule>> GetAllValidateRulesAsync(string typeName)
Returns
System.Threading.Tasks.Task<System.Collections.Generic.List<ServiceStack.ValidationRule>>
Parameters
Type | Name |
---|---|
System.String | typeName |
SaveValidationRules(List<ValidationRule>)
View Source
Declaration
void SaveValidationRules(List<ValidationRule> validateRules)
Parameters
Type | Name |
---|---|
System.Collections.Generic.List<ServiceStack.ValidationRule> | validateRules |
SaveValidationRulesAsync(List<ValidationRule>)
View Source
Declaration
Task SaveValidationRulesAsync(List<ValidationRule> validateRules)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.Collections.Generic.List<ServiceStack.ValidationRule> | validateRules |
GetValidateRulesByIdsAsync(Int32[])
View Source
Declaration
Task<List<ValidationRule>> GetValidateRulesByIdsAsync(params int[] ids)
Returns
System.Threading.Tasks.Task<System.Collections.Generic.List<ServiceStack.ValidationRule>>
Parameters
Type | Name |
---|---|
System.Int32[] | ids |
DeleteValidationRulesAsync(Int32[])
View Source
Declaration
Task DeleteValidationRulesAsync(params int[] ids)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.Int32[] | ids |
ClearCacheAsync()
View Source
Declaration
Task ClearCacheAsync()
Returns
System.Threading.Tasks.Task