/// <summary>
 /// Initializes a new instance of the PolicyProperties class with
 /// required arguments.
 /// </summary>
 public PolicyProperties(string friendlyName, PolicyProviderSettingsDetails providerSpecificDetails)
     : this()
 {
     if (friendlyName == null)
     {
         throw new ArgumentNullException("friendlyName");
     }
     if (providerSpecificDetails == null)
     {
         throw new ArgumentNullException("providerSpecificDetails");
     }
     this.FriendlyName = friendlyName;
     this.ProviderSpecificDetails = providerSpecificDetails;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the PolicyProperties class with
 /// required arguments.
 /// </summary>
 public PolicyProperties(string friendlyName, PolicyProviderSettingsDetails providerSpecificDetails)
     : this()
 {
     if (friendlyName == null)
     {
         throw new ArgumentNullException("friendlyName");
     }
     if (providerSpecificDetails == null)
     {
         throw new ArgumentNullException("providerSpecificDetails");
     }
     this.FriendlyName            = friendlyName;
     this.ProviderSpecificDetails = providerSpecificDetails;
 }