public PropertyFacilityRegistration(IRegistration inner, FinalRegistrationOptions options) {
     if (inner == null)
         throw new ArgumentNullException("inner", "inner is null.");
     if (options == null)
         throw new ArgumentNullException("options", "options is null.");
     _options = options;
     _inner = inner;
 }
Ejemplo n.º 2
0
 public void UseRegistrationOptions(FinalRegistrationOptions options, Action action) {
     _currentRegistrationOptions = options;
     try {
         action();
     }
     finally {
         _currentRegistrationOptions = null;
     }
 }
Ejemplo n.º 3
0
 public void UseRegistrationOptions(FinalRegistrationOptions options, Action action)
 {
     _currentRegistrationOptions = options;
     try {
         action();
     }
     finally {
         _currentRegistrationOptions = null;
     }
 }
Ejemplo n.º 4
0
 public PropertyFacilityRegistration(IRegistration inner, FinalRegistrationOptions options)
 {
     if (inner == null)
     {
         throw new ArgumentNullException("inner", "inner is null.");
     }
     if (options == null)
     {
         throw new ArgumentNullException("options", "options is null.");
     }
     _options = options;
     _inner   = inner;
 }
 public void UseRegistrationOptions(FinalRegistrationOptions options, Action action) {
     _wiredPropertyChecker.UseRegistrationOptions(options, action);
 }
Ejemplo n.º 6
0
 public void UseRegistrationOptions(FinalRegistrationOptions options, Action action)
 {
     _wiredPropertyChecker.UseRegistrationOptions(options, action);
 }