private Bridge.Translator.BridgeOptions GetBridgeOptions() { var bridgeOptions = new Bridge.Translator.BridgeOptions() { ProjectLocation = this.ProjectPath, OutputLocation = this.OutputPath, DefaultFileName = Path.GetFileNameWithoutExtension(this.Assembly.ItemSpec), BridgeLocation = Path.Combine(this.AssembliesPath, "Bridge.dll"), Rebuild = false, ExtractCore = !NoCore, Configuration = this.Configuration, Platform = this.Platform, Source = null, Folder = null, Recursive = false, Lib = null, DefinitionConstants = this.DefineConstants, Help = false, NoTimeStamp = null, FromTask = true, Name = "" }; return(bridgeOptions); }
private Bridge.Translator.BridgeOptions GetBridgeOptions() { var bridgeOptions = new Bridge.Translator.BridgeOptions() { ProjectLocation = this.ProjectPath, OutputLocation = this.OutputPath, DefaultFileName = Path.GetFileName(this.Assembly.ItemSpec), BridgeLocation = Path.Combine(this.AssembliesPath, "Bridge.dll"), Rebuild = false, ExtractCore = !NoCore, Folder = null, Recursive = false, Lib = null, NoCompilation = false, NoTimeStamp = null, FromTask = true, Name = "", Sources = GetSources() }; bridgeOptions.ProjectProperties = new ProjectProperties() { AssemblyName = this.AssemblyName, OutputPath = this.OutputPath, OutDir = this.OutDir, RootNamespace = this.RootNamespace, Configuration = this.Configuration, Platform = this.Platform, DefineConstants = this.DefineConstants, CheckForOverflowUnderflow = GetCheckForOverflowUnderflow(), OutputType = this.OutputType }; return(bridgeOptions); }
public TranslatorProcessor(BridgeOptions bridgeOptions, Logger logger) { this.BridgeOptions = bridgeOptions; this.Logger = logger; }