コード例 #1
0
ファイル: TlbimpAction.cs プロジェクト: thrixton/clrinterop
        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(ResolveToActionDef.GetInstance());
 }