/// <summary> /// Initializes a new instance of the <see cref="T:System.Object" /> class. /// </summary> protected ChainHelperFor(IChainHelperFor <TIn, TOut> chainHelperFor) { if (chainHelperFor == null) { // throw new ArgumentNullException(nameof(chainHelperFor)); } NextChain = chainHelperFor; }
/// <summary> /// Initializes a new instance of the <see cref="T:System.Object" /> class. /// </summary> /// <exception cref="ArgumentNullException"></exception> protected ChainHelperFor(IChainHelperFor <TIn, TOut> chainHelperFor) { NextChain = chainHelperFor ?? throw new ArgumentNullException(nameof(chainHelperFor)); }
public ReturnClass(IDemoInterface demoInterface, IChainHelperFor <string, string> chainHelperFor) { _demoInterface = demoInterface ?? throw new ArgumentNullException(nameof(demoInterface)); _chainHelperFor = chainHelperFor ?? throw new ArgumentNullException(nameof(chainHelperFor)); }
public Two(IChainHelperFor <string, string> chainHelperFor) : base(chainHelperFor) { }
/// <summary> /// Initializes a new instance of the <see cref="T:System.Object" /> class. /// </summary> protected ChainHelperFor(IChainHelperFor <TIn, TOut> chainHelperFor) { NextChain = chainHelperFor; }