示例#1
0
        internal override void OnInitialization()
        {
            base.OnInitialization();

            _helper = Helper as ICustomModuleHelper;
            _helper.OnInitialization();
        }
示例#2
0
        protected override void OnRuntimeEnable()
        {
            base.OnRuntimeEnable();

            _customModuleHelper = _helper as ICustomModuleHelper;
        }
        protected override void OnRuntimeEnable()
        {
            base.OnRuntimeEnable();

            _customModuleHelper = Target.GetType().GetField("_helper", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(Target) as ICustomModuleHelper;
        }