Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public TranslatorProcessor(BridgeOptions bridgeOptions, Logger logger)
 {
     this.BridgeOptions = bridgeOptions;
     this.Logger        = logger;
 }