LeanEngine.Engine.SetFlowProperty C# (CSharp) Method

SetFlowProperty() private method

private SetFlowProperty ( ItemFlow itemFlow, List flows ) : void
itemFlow LeanEngine.Entity.ItemFlow
flows List
return void
        private void SetFlowProperty(ItemFlow itemFlow, List<Flow> flows)
        {
            Flow flow = flows.Single(f => f.Equals(itemFlow.Flow));
            itemFlow.Flow.WindowTime = flow.WindowTime;
            itemFlow.Flow.NextOrderTime = flow.NextOrderTime;
            itemFlow.Flow.NextWindowTime = flow.NextWindowTime;
            itemFlow.Flow.IsUpdateWindowTime = flow.IsUpdateWindowTime;
        }