// Do not check for null type here to handle the callback attribute case internal CallbackValidator(ValidatorCallback callback) { if (callback == null) { throw new ArgumentNullException("callback"); } _type = null; _callback = callback; }
public CallbackValidator(Type type, ValidatorCallback callback) : this(callback) { if (type == null) { throw new ArgumentNullException("type"); } this._type = type; }
// Do not check for null type here to handle the callback attribute case internal CallbackValidator(ValidatorCallback callback) { if (callback == null) { throw new ArgumentNullException(nameof(callback)); } _type = null; _callback = callback; }
internal CallbackValidator(ValidatorCallback callback) { if (callback == null) { throw new ArgumentNullException("callback"); } this._type = null; this._callback = callback; }
public SkipDefaultValueCallbackValidator(Type type, ValidatorCallback callback) : this(callback) { if (type == null) { throw new ArgumentNullException("type"); } _type = type; }
// Do not check for null type here to handle the callback attribute case public SkipDefaultValueCallbackValidator(ValidatorCallback callback) { if (callback == null) { throw new ArgumentNullException("callback"); } _type = null; _callback = callback; }
public CallbackValidator(Type type, ValidatorCallback callback) { _type = type; _callback = callback; }
public CallbackValidator (Type type, ValidatorCallback callback) { this.type = type; this.callback = callback; }
// Do not check for null type here to handle the callback attribute case internal CallbackValidator(ValidatorCallback callback !!) {
public CallbackValidator(Type type, ValidatorCallback callback) { }
public CallbackValidator(Type type, ValidatorCallback callback) { this.type = type; this.callback = callback; }
// Do not check for null type here to handle the callback attribute case internal CallbackValidator(ValidatorCallback callback) { if (callback == null) throw new ArgumentNullException(nameof(callback)); _type = null; _callback = callback; }
public CallbackValidator(Type type, ValidatorCallback callback) : this(callback) { if (type == null) throw new ArgumentNullException(nameof(type)); _type = type; }