Exemplo n.º 1
0
 internal OpenSpan.Adapters.WinInet.WinInetFactory Create_WinInetFactory(out System.Collections.Generic.ICollection <System.ComponentModel.IComponent> components)
 {
     components = new System.Collections.Generic.List <System.ComponentModel.IComponent>();
     OpenSpan.Adapters.WinInet.WinInetFactory WinInetFactory = new OpenSpan.Adapters.WinInet.WinInetFactory();
     this.SetId(WinInetFactory, new OpenSpan.Design.ComponentIdentity("WinInetFactory-8D8DFDE517C7E10"));
     WinInetFactory.Extender    = null;
     WinInetFactory.FactoryName = null;
     WinInetFactory.ForwardObjectExplorerEvent = true;
     WinInetFactory.MatchingIndex = 0;
     OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule moduleNameMatchRule2;
     moduleNameMatchRule2 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     //
     // moduleNameMatchRule2
     //
     OpenSpan.Adapters.TextMatchData textmatchdata1 = new OpenSpan.Adapters.TextMatchData();
     textmatchdata1.Text       = "wininet.dll";
     moduleNameMatchRule2.Text = textmatchdata1;
     WinInetFactory.MatchRules.Add(moduleNameMatchRule2);
     WinInetFactory.Name             = "WinInetFactory";
     WinInetFactory.PegaId           = 0;
     WinInetFactory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     WinInetFactory.UseKeys          = true;
     WinInetFactory.XrayGuid         = "";
     //
     // Set designComp Ids
     //
     this.SetId(moduleNameMatchRule2, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D8DFDE51863B5D"));
     //
     // Add components
     //
     components.Add(moduleNameMatchRule2);
     //
     // Result
     //
     return(WinInetFactory);
 }
Exemplo n.º 2
0
 public ACMESearch()
 {
     //
     // Global Initialization
     //
     OpenSpan.Diagnostics.Diagnostic.Initialize();
     //
     // Setup field members
     //
     System.ComponentModel.ComponentResourceManager _resources_ = new System.ComponentModel.ComponentResourceManager(typeof(ACMESearch));
     OpenSpan.Adapters.TextMatchData textmatchdata1             = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata2             = new OpenSpan.Adapters.TextMatchData();
     OpenSpan.Adapters.TextMatchData textmatchdata3             = new OpenSpan.Adapters.TextMatchData();
     this.ActiveXFactory       = new OpenSpan.Adapters.ActiveX.ActiveXFactory();
     this.moduleNameMatchRule1 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     this.WinInetFactory       = new OpenSpan.Adapters.WinInet.WinInetFactory();
     this.moduleNameMatchRule2 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     this.MicrosoftHTMLFactory = new OpenSpan.Adapters.Web.MicrosoftHTMLFactory();
     this.moduleNameMatchRule3 = new OpenSpan.Adapters.Windows.MatchRules.ModuleNameMatchRule();
     //
     // Initialize design component
     //
     this.Initialize();
     //
     // Set design component Id
     //
     this.Id = new OpenSpan.Design.ComponentIdentity("WebAdapter-8D8DE2BB139348E");
     //
     // Set component Ids
     //
     this.SetId(this.ActiveXFactory, new OpenSpan.Design.ComponentIdentity("ActiveXFactory-8D8DFDE4F24F077"));
     this.SetId(this.moduleNameMatchRule1, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D8DFDE4F564DD2"));
     this.SetId(this.WinInetFactory, new OpenSpan.Design.ComponentIdentity("WinInetFactory-8D8DFDE517C7E10"));
     this.SetId(this.moduleNameMatchRule2, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D8DFDE51863B5D"));
     this.SetId(this.MicrosoftHTMLFactory, new OpenSpan.Design.ComponentIdentity("MicrosoftHTMLFactory-8D8DFDE58FC030E"));
     this.SetId(this.moduleNameMatchRule3, new OpenSpan.Design.ComponentIdentity("ModuleNameMatchRule-8D8DFDE5912D6D2"));
     //
     // ACMESearch
     //
     this.AdvancedConfiguration = null;
     ComponentInfo.CodeDomData  = _resources_.GetString("_ACMESearch_1_");
     //
     // ActiveXFactory
     //
     this.ActiveXFactory.Extender    = null;
     this.ActiveXFactory.FactoryName = null;
     this.ActiveXFactory.ForwardObjectExplorerEvent = true;
     this.ActiveXFactory.MatchingIndex = 0;
     //
     // moduleNameMatchRule1
     //
     textmatchdata1.Text            = "ole32.dll";
     this.moduleNameMatchRule1.Text = textmatchdata1;
     this.ActiveXFactory.MatchRules.Add(this.moduleNameMatchRule1);
     this.ActiveXFactory.Name             = "ActiveXFactory";
     this.ActiveXFactory.PegaId           = 0;
     this.ActiveXFactory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     this.ActiveXFactory.UseKeys          = true;
     this.ActiveXFactory.XrayGuid         = "";
     //
     // WinInetFactory
     //
     this.WinInetFactory.Extender    = null;
     this.WinInetFactory.FactoryName = null;
     this.WinInetFactory.ForwardObjectExplorerEvent = true;
     this.WinInetFactory.MatchingIndex = 0;
     //
     // moduleNameMatchRule2
     //
     textmatchdata2.Text            = "wininet.dll";
     this.moduleNameMatchRule2.Text = textmatchdata2;
     this.WinInetFactory.MatchRules.Add(this.moduleNameMatchRule2);
     this.WinInetFactory.Name             = "WinInetFactory";
     this.WinInetFactory.PegaId           = 0;
     this.WinInetFactory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     this.WinInetFactory.UseKeys          = true;
     this.WinInetFactory.XrayGuid         = "";
     //
     // MicrosoftHTMLFactory
     //
     this.MicrosoftHTMLFactory.Extender    = null;
     this.MicrosoftHTMLFactory.FactoryName = null;
     this.MicrosoftHTMLFactory.ForwardObjectExplorerEvent = true;
     this.MicrosoftHTMLFactory.MatchingIndex = 0;
     //
     // moduleNameMatchRule3
     //
     textmatchdata3.Text            = "mshtml.dll";
     this.moduleNameMatchRule3.Text = textmatchdata3;
     this.MicrosoftHTMLFactory.MatchRules.Add(this.moduleNameMatchRule3);
     this.MicrosoftHTMLFactory.Name             = "MicrosoftHTMLFactory";
     this.MicrosoftHTMLFactory.PegaId           = 0;
     this.MicrosoftHTMLFactory.TargetTypeString = "OpenSpan.Adapters.Windows.WindowsModule, OpenSpan.Adapters.Windows";
     this.MicrosoftHTMLFactory.UseKeys          = true;
     this.MicrosoftHTMLFactory.XrayGuid         = "";
     this.Controls.Add(this.ActiveXFactory);
     this.Controls.Add(this.WinInetFactory);
     this.Controls.Add(this.MicrosoftHTMLFactory);
     this.ExpressNativeTypes = null;
     this.Extender           = null;
     this.FriendlyName       = "ACMESearch";
     this.IgnoreMainBrowser  = false;
     this.Name = "ACMESearch";
     this.ReasonAdapterNotReady = null;
     this.StartMyDay            = OpenSpan.ApplicationFramework.StartMyDay.StartOptions.None;
     this.StartMyDayControls    = null;
     this.StartOnProjectStart   = false;
     this.StartPage             = "http://training.pega.com/";
     this.XrayMasterNames       = null;
     //
     // Add components
     //
     this.mComponents = new System.Collections.Generic.List <System.ComponentModel.IComponent>(20);
     this.Components.Add(this.ActiveXFactory);
     this.Components.Add(this.moduleNameMatchRule1);
     this.Components.Add(this.WinInetFactory);
     this.Components.Add(this.moduleNameMatchRule2);
     this.Components.Add(this.MicrosoftHTMLFactory);
     this.Components.Add(this.moduleNameMatchRule3);
 }