public SilverlightApplicationTranslator(SilverlightApplicationTranslatorConfiguration configuration, ResourceFileTranslator resourceFileTranslator)
 {
     this.configuration = configuration;
     this.resourceFileTranslator = resourceFileTranslator;
 }
Ejemplo n.º 2
0
        static void Main(string[] arguments)
        {
            var assemblyTranslator = new SilverlightAssemblyTranslator();
            HookTranslatorEvents(assemblyTranslator);

            var configuration = new SilverlightApplicationTranslatorConfiguration();
            configuration.ParseArguments(arguments);

            var xamlTranslator = new XamlTranslator();
            var resourceTranslator = new ResourceFileTranslator(xamlTranslator);
            var applicationTranslator = new SilverlightApplicationTranslator(configuration, resourceTranslator);
            applicationTranslator.ProcessWith(assemblyTranslator);
        }