/// <exclude /> public static IFlowUiDefinition GetCurrentUiDefinition(FlowToken flowToken, FlowControllerServicesContainer flowControllerServicesContainer) { if (flowToken == null) throw new ArgumentNullException("flowToken"); IFlowController flowExecutor = FlowControllerCache.GetFlowController(flowToken, flowControllerServicesContainer); IFlowUiDefinition flowResult = flowExecutor.GetCurrentUiDefinition(flowToken); if (flowResult == null) { flowResult = new NullFlowUiDefinition(); } return flowResult; }
/// <exclude /> public static IFlowUiDefinition GetCurrentUiDefinition(FlowToken flowToken, FlowControllerServicesContainer flowControllerServicesContainer) { if (flowToken == null) { throw new ArgumentNullException("flowToken"); } IFlowController flowExecutor = FlowControllerCache.GetFlowController(flowToken, flowControllerServicesContainer); IFlowUiDefinition flowResult = flowExecutor.GetCurrentUiDefinition(flowToken); if (flowResult == null) { flowResult = new NullFlowUiDefinition(); } return(flowResult); }