コード例 #1
0
        public void Execute()
        {
            AssemblyDefinition ormAssembly;
            if (ModuleIsRomanticWeb() || ModuleHasNoRomanticWebReference(out ormAssembly))
            {
                // skip RomanticWeb assemblies and those that don't reference RomanticWeb
                return;
            }

            References = new WeaverReferences(this);
            Imports = new WeaverImports(this, References);

            AddTypeConverters();
            AddDictionaryEntityTypes();
        }
コード例 #2
0
        public void Execute()
        {
            AssemblyDefinition ormAssembly;

            if (ModuleIsRomanticWeb() || ModuleHasNoRomanticWebReference(out ormAssembly))
            {
                // skip RomanticWeb assemblies and those that don't reference RomanticWeb
                return;
            }

            References = new WeaverReferences(this);
            Imports    = new WeaverImports(this, References);

            AddTypeConverters();
            AddDictionaryEntityTypes();
        }