Method ConvertToSettingToTrue
ConvertToSettingToTrue<T>(T, List<string>)
Sets the specified properties of the security setting object to true.
public static void ConvertToSettingToTrue<T>(T securitySetting, List<string> propertyNames) where T : class
Parameters
securitySetting
TThe security setting object.
propertyNames
List<string>The names of the properties to set to true.
Type Parameters
T
The type of the security setting object.
Exceptions
- ArgumentNullException
Thrown when the property names list is null.