Пример #1
0
 public ResourceFileTranslator(XamlTranslator xamlTranslator)
 {
     this.xamlTranslator = xamlTranslator;
 }
Пример #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);
        }