public ResourceFileTranslator(XamlTranslator xamlTranslator) { this.xamlTranslator = xamlTranslator; }
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); }