Exemple #1
0
        public TlbImpActionManager()
        {
            ChangeManagedNameActionDef changeNameActionDef = ChangeManagedNameActionDef.GetInstance();

            RegisterAction(changeNameActionDef.GetActionName(),
                           changeNameActionDef);
            PreserveSigActionDef preserveSigActionDef = PreserveSigActionDef.GetInstance();

            RegisterAction(preserveSigActionDef.GetActionName(),
                           preserveSigActionDef);
            ResolveToActionDef resolveRedirectionActionDef =
                ResolveToActionDef.GetInstance();

            RegisterAction(resolveRedirectionActionDef.GetActionName(),
                           resolveRedirectionActionDef);

            ConvertToActionDef convertToActionDef = ConvertToActionDef.GetInstance();

            RegisterAction(convertToActionDef.GetActionName(), convertToActionDef);

            AddAttributeActionDef addAttributeActionDef = AddAttributeActionDef.GetInstance();

            RegisterAction(addAttributeActionDef.GetActionName(), addAttributeActionDef);
        }
 public IActionDef GetActionDef()
 {
     return(ResolveToActionDef.GetInstance());
 }