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

            foreach (var stateGroup in StateManager.StateGroups)
            {
                (stateGroup.Value as IRegisterForUIAccess)?.RegisterForUIAccess(context);
            }
        }
Exemplo n.º 2
0
        /// <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);
            }
        }
Exemplo n.º 3
0
 public virtual void RegisterForUIAccess(IUIExecutionContext context)
 {
     UIContext = context;
 }