public override void RegisterForUIAccess(IUIExecutionContext context)
        {
            base.RegisterForUIAccess(context);

            foreach (var stateGroup in StateManager.StateGroups)
            {
                (stateGroup.Value as IRegisterForUIAccess)?.RegisterForUIAccess(context);
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public virtual void RegisterForUIAccess(IUIExecutionContext context)
        {
            UIContext = context;

            var hasSM = this as IHasStates;
            if (hasSM == null) return;
            foreach (var stateGroup in hasSM.StateManager.StateGroups)
            {
                (stateGroup.Value as IRegisterForUIAccess)?.RegisterForUIAccess(context);
            }
        }
Exemple #3
0
 public virtual void RegisterForUIAccess(IUIExecutionContext context)
 {
     UIContext = context;
 }