Example #1
0
 /// <summary>
 /// Creates a new instance of <see cref="NegatingFilter"/>.
 /// </summary>
 public NegatingFilter(PipFilter inner)
 {
     Inner            = inner;
     m_cachedHashCode = ~Inner.GetHashCode();
 }
Example #2
0
 /// <summary>
 /// Class constructor
 /// </summary>
 protected ClosureFunctionFilter(PipFilter inner, ClosureMode closureMode = ClosureMode.TransitiveIncludingSelf)
 {
     Inner            = inner;
     ClosureMode      = closureMode;
     m_cachedHashCode = HashCodeHelper.Combine(Inner.GetHashCode(), GetType().GetHashCode(), (int)ClosureMode);
 }
Example #3
0
 /// <inheritdoc/>
 public override int GetHashCode() => PipFilter.GetHashCode();