/// <summary>
 /// Initialize a new instance of the <see cref="GroupPolicyWatcher"/> class with a registration builder.
 /// </summary>
 /// <param name="registrationBuilder">
 /// The builder used to create the registration for Group Policy.
 /// </param>
 public GroupPolicyWatcher(GroupPolicyNotificationRegistrationBuilder registrationBuilder)
 {
     this.registrationBuilder = registrationBuilder;
 }
示例#2
0
 public GroupPolicyWatcher(GroupPolicyNotificationRegistrationBuilder registrationBuilder)
 {
     this.registrationBuilder = registrationBuilder;
 }
 public GroupPolicyWatcher(GroupPolicyNotificationRegistrationBuilder registrationBuilder)
 {
     this.lockObject = new object();
     this.registrationBuilder = registrationBuilder;
 }