public StateCommuter(StackingLinkedList<Level> stack, IWiringContext wiringContext, ITopDownValueContext topDownValueContext) { Guard.ThrowIfNull(stack, nameof(stack)); Guard.ThrowIfNull(wiringContext, nameof(wiringContext)); Guard.ThrowIfNull(topDownValueContext, nameof(topDownValueContext)); Stack = stack; this.topDownValueContext = topDownValueContext; ValuePipeline = new ValuePipeline(wiringContext.TypeContext, topDownValueContext); instanceProperties = new InstanceProperties(); }
public StateCommuter(StackingLinkedList <Level> stack, IWiringContext wiringContext, ITopDownValueContext topDownValueContext) { Guard.ThrowIfNull(stack, nameof(stack)); Guard.ThrowIfNull(wiringContext, nameof(wiringContext)); Guard.ThrowIfNull(topDownValueContext, nameof(topDownValueContext)); Stack = stack; this.topDownValueContext = topDownValueContext; ValuePipeline = new ValuePipeline(wiringContext.TypeContext, topDownValueContext); instanceProperties = new InstanceProperties(); }