Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <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;
 }