Example #1
0
        public override void Execute()
        {
            Settings = new ModuleWeaverSettings(Config);
            Assets   = new Assets(this);

            CommandAttributeScanner();
            DelegateCommandClassInjection();
            ProcessTypes();
            CleanReferences();
            CleanAttributes();
        }
        protected ModuleProcessorBase([NotNull] ModuleWeaver moduleWeaver)
        {
            if (moduleWeaver == null)
            {
                throw new ArgumentNullException("moduleWeaver");
            }

            _moduleWeaver     = moduleWeaver;
            _assets           = _moduleWeaver.Assets;
            _moduleDefinition = _moduleWeaver.ModuleDefinition;
            _settings         = _moduleWeaver.Settings;
        }
        protected ModuleProcessorBase([NotNull] ModuleWeaver moduleWeaver)
        {
            if (moduleWeaver == null)
            {
                throw new ArgumentNullException("moduleWeaver");
            }

            _moduleWeaver = moduleWeaver;
            _assets = _moduleWeaver.Assets;
            _moduleDefinition = _moduleWeaver.ModuleDefinition;
            _settings = _moduleWeaver.Settings;
        }
 private void Setup()
 {
     Settings = new ModuleWeaverSettings(Config);
     Assets   = new Assets(this);
 }
 private void Setup()
 {
     Settings = new ModuleWeaverSettings(Config);
     Assets = new Assets(this);
 }