Esempio n. 1
0
        protected override WfExtraProcessPersistManagerCollection GetDefaultPersisters()
        {
            WfExtraProcessPersistManagerCollection result = new WfExtraProcessPersistManagerCollection();

            result.Add(new WfCurrentAssigneesPersistManager());
            result.Add(new WfProcessRelativeParamsPersistManager());

            return(result);
        }
        private WfExtraProcessPersistManagerCollection GetConfigedPersisters()
        {
            WfExtraProcessPersistManagerCollection result = new WfExtraProcessPersistManagerCollection();

            foreach (TypeConfigurationElement typeElement in this.Persisters)
            {
                result.Add(typeElement.CreateInstance <IWfExtraProcessPersistManager>());
            }

            return(result);
        }