internal ScenegraphTool(IWrapperRegistry reg, IProviderRegistry prov) { this.reg = reg; this.prov = prov; sg = new ScenegraphForm(); }
internal SimsTool(IWrapperRegistry reg, IProviderRegistry prov) { this.reg = reg; this.prov = prov; if (registry == null) { registry = Helper.WindowsRegistry; } }
internal PhotoStudioTool(IWrapperRegistry reg, IProviderRegistry prov) { this.reg = reg; this.prov = prov; if (registry == null) { registry = Helper.WindowsRegistry; } ps = null; }
internal WorkshopTool(IWrapperRegistry reg, IProviderRegistry prov) { this.reg = reg; this.prov = prov; if (registry == null) { registry = Helper.WindowsRegistry; } ws = new Workshop(); }
internal DownloadScanTool(IWrapperRegistry reg, IProviderRegistry prov) { this.reg = reg; this.prov = prov; if (registry == null) { registry = Helper.WindowsRegistry; } ds = new DownloadScan(); ds.prov = this.prov; }
internal SearchTool(IWrapperRegistry reg, IProviderRegistry prov) { this.reg = reg; this.prov = prov; sc = new Search(); sc.prov = prov; flname = ""; if (registry == null) { registry = Helper.WindowsRegistry; } }
/// <summary> /// Build the SceneGraph /// </summary> /// <param name="prov"></param> /// <param name="simpe_pkg"></param> public void Execute(IProviderRegistry prov, SimPe.Interfaces.Files.IPackageFile simpe_pkg, ref SimPe.Interfaces.Files.IPackedFileDescriptor pfd) { this.pfd = pfd; this.open_pkg = simpe_pkg; WaitingScreen.Wait(); try { llopen.Enabled = false; SimPe.Interfaces.Files.IPackageFile orgpkg = simpe_pkg; DateTime start = DateTime.Now; FileTable.FileIndex.Load(); SimPe.Interfaces.Scenegraph.IScenegraphFileIndex fileindex = FileTable.FileIndex.Clone(); fileindex.AddIndexFromPackage(simpe_pkg); SimPe.Interfaces.Scenegraph.IScenegraphFileIndex oldfileindex = FileTable.FileIndex; FileTable.FileIndex = fileindex; //find txtr File /*WaitingScreen.UpdateMessage("Collecting Global Files"); * string[] modelnames = Scenegraph.FindModelNames(simpe_pkg); * try * { * ObjectCloner oc = new ObjectCloner(); * oc.RcolModelClone(modelnames, false, false); * simpe_pkg = oc.Package; * } * catch (ScenegraphException) {}*/ FileTable.FileIndex = oldfileindex; gb.BuildGraph(simpe_pkg, fileindex); gb.FindUnused(orgpkg); WaitingScreen.Stop(); TimeSpan runtime = DateTime.Now.Subtract(start); if (Helper.WindowsRegistry.HiddenMode) { Text = "Runtime: " + runtime.TotalSeconds + " sek. = " + runtime.TotalMinutes + " min."; } RemoteControl.ShowSubForm(this); pfd = this.pfd; } #if !DEBUG catch (Exception ex) { Helper.ExceptionMessage("", ex); } #endif finally { WaitingScreen.Stop(); } }
private static MigrationOptions GetOptions(out IEnumerable <ProviderInfo> providerInfos) { IProviderMetadata metadata = A.Fake <IProviderMetadata>(); A.CallTo(() => metadata.MaximumDbObjectNameLength).Returns(MaximumSupportedLength); A.CallTo(() => metadata.MajorVersion).Returns(Platform.MajorVersion); A.CallTo(() => metadata.InvariantName).Returns("System.Data.Odbc"); // for the Odbc specific tests IProvider provider = new ProviderStub(); IProviderRegistry providerRegistry = A.Fake <IProviderRegistry>(); A.CallTo(() => providerRegistry.GetProvider(metadata)).Returns(provider); providerInfos = new[] { new ProviderInfo(provider, metadata) }; var options = new MigrationOptions(); options.SupportedPlatforms.AddOrReplaceMinimumRequirement(Platform); return(options); }
internal ImportSemiTool(IWrapperRegistry reg, IProviderRegistry prov) { this.reg = reg; this.prov = prov; }
public DefaultLoadBalancer(IProviderRegistry providerRegistry, ILoadBalancerStrategy strategy, IHeartbeatChecker heartbeatChecker) : base(providerRegistry) { this.strategy = strategy; this.heartbeatChecker = heartbeatChecker; }
public AbstractLoadBalancer(IProviderRegistry providerRegistry) { this.providerRegistry = providerRegistry; }
public ProviderLocator(IProviderRegistry providerRegistry) { _providerRegistry = providerRegistry; }
public HeartbeatChecker(IProviderRegistry providerRegistry, IScheduler scheduler) { this.providerRegistry = providerRegistry; this.scheduler = scheduler; }
/// <summary> /// Constructor /// </summary> public Nmap(IProviderRegistry provider) : base() { this.provider = provider; items = new Interfaces.Files.IPackedFileDescriptor[0]; }