/// <summary> /// Initializes a new instance of the <see cref="FilterRegistrationResult"/> class. /// </summary> /// <param name="streamProcessor">The <see cref="StreamProcessors" />.</param> public FilterRegistrationResult(StreamProcessor streamProcessor) { StreamProcessor = streamProcessor; FilterValidationResult = new FilterValidationResult(); Success = streamProcessor != default; }
/// <summary> /// Initializes a new instance of the <see cref="FilterRegistrationResult"/> class. /// </summary> /// <param name="filterValidationResult">The failed <see cref="FilterValidationResult" />.</param> public FilterRegistrationResult(FilterValidationResult filterValidationResult) { FilterValidationResult = filterValidationResult; }