コード例 #1
0
        /// <summary>
        ///     Gets the workflow manager extension using the application reference.
        /// </summary>
        /// <param name="source">The process framework application reference.</param>
        /// <returns>Returns a <see cref="IMMWorkflowManager" /> representing the Session Manager extension.</returns>
        public static IMMWorkflowManager GetWorkflowManager(this IMMPxApplication source)
        {
            if (source == null)
            {
                return(null);
            }

            return(source.FindPxExtensionByName(ArcFM.Process.WorkflowManager.Name) as IMMWorkflowManager);
        }
コード例 #2
0
 public static IMMWorkflowManager GetWorkflowManager(IMMPxApplication PxApp)
 {
     return((IMMWorkflowManager)PxApp.FindPxExtensionByName("MMWorkflowManager"));
 }
コード例 #3
0
ファイル: DesignerUtility.cs プロジェクト: RiverTaig/CU_ATE
 public static IMMWorkflowManager GetWorkflowManager(IMMPxApplication PxApp)
 {
     return (IMMWorkflowManager)PxApp.FindPxExtensionByName("MMWorkflowManager");
 }