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
securitySettingTThe security setting object.
propertyNamesList<string>The names of the properties to set to true.
Type Parameters
TThe type of the security setting object.
Exceptions
- ArgumentNullException
Thrown when the property names list is null.