示例#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);
        }
示例#2
0
 public IActionDef GetActionDef()
 {
     return(PreserveSigActionDef.GetInstance());
 }