예제 #1
0
        public void Execute()
        {
            CecilExtensions.LogError = LogError;
            CecilExtensions.LogInfo = LogInfo;
            CecilExtensions.LogWarning = LogWarning;
            CecilExtensions.Initialize(ModuleDefinition);

            var propertyWeaver = new SexyProxyWeaver
            {
                ModuleDefinition = ModuleDefinition,
                LogInfo = LogInfo,
                LogWarning = LogWarning,
                LogError = LogError
            };
            propertyWeaver.Execute();
        }
예제 #2
0
        public override void Execute()
        {
            CecilExtensions.LogError   = LogError;
            CecilExtensions.LogInfo    = LogInfo;
            CecilExtensions.LogWarning = LogWarning;
            CecilExtensions.Initialize(ModuleDefinition);

            var propertyWeaver = new SexyProxyWeaver
            {
                ModuleDefinition = ModuleDefinition,
                LogInfo          = LogInfo,
                LogWarning       = LogWarning,
                LogError         = LogError
            };

            propertyWeaver.Execute();
        }