当前位置: 首页>>代码示例>>C#>>正文


C# IProfile类代码示例

本文整理汇总了C#中IProfile的典型用法代码示例。如果您正苦于以下问题:C# IProfile类的具体用法?C# IProfile怎么用?C# IProfile使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IProfile类属于命名空间,在下文中一共展示了IProfile类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Initialize

        public void Initialize(XmlElement config, IEventManager eventManager, IProfile profile) {
            this.eventManager = eventManager;
            this.profile = profile;
            this.eventManager.Subscribe(typeof(IntervalSync), OnInterval);

            logger = new Logger(eventManager);
        }
开发者ID:versionone,项目名称:VersionOne.Integration.HPALM,代码行数:7,代码来源:QualityCenterReaderService.cs

示例2: Initialize

        public void Initialize(XmlElement config, IEventManager eventManager, IProfile profile)
        {
            string reposServer = config["RepositoryServer"].InnerText;
            _profile = profile;
            _respostoryPath =reposServer + config["RepositoryPath"].InnerText;

            if (!_usernames.ContainsKey(reposServer))
            {
                Console.Write(String.Format("Please enter {0} Username : ", reposServer));
                _usernames[reposServer] = Console.ReadLine();

                Console.Write(String.Format("Please enter {0} Password : ", reposServer));
                _passwords[reposServer] = Console.ReadLine();
            }

            _connector.SetAuthentication(_usernames[reposServer],  _passwords[reposServer]);

            _eventManager = eventManager;
            _eventManager.Subscribe(PubType, PokeRepository);

            _connector.Revision += _connector_Revision;
            _connector.Error += _connector_Error;

            InernalInitialize(config, eventManager, profile);
        }
开发者ID:mgfreshour,项目名称:VersionOne-SVN-Integration-Mod,代码行数:25,代码来源:AbstractRevisionProcessor.cs

示例3: CopyProfileConfig

 // Copy config.cfg to csgo\cfg folder.
 public string CopyProfileConfig(IProfile profile)
 {
     string destCfg = SteamPaths.CfgFolder + "config.cfg";
     File.Copy(profile.FolderPath + profile.Config, destCfg, true);
     Changes++;
     return profile.Config + " succesfully created. \n";
 }
开发者ID:rfirevtre,项目名称:CSGO-Optimiser,代码行数:8,代码来源:OptimiseController.cs

示例4: SearchCommand

		public SearchCommand(QueryRunner queryRunner, IProfile profile, DocumentIndexRebuilder documentIndexRebuilder, IActivityLogger logger)
		{
			_queryRunner = queryRunner;
			_profile = profile;
			_documentIndexRebuilder = documentIndexRebuilder;
			_logger = logger;
		}
开发者ID:TargetProcess,项目名称:Target-Process-Plugins,代码行数:7,代码来源:SearchCommand.cs

示例5: Initialize

 public virtual void Initialize(XmlElement config, IEventManager eventManager, IProfile profile) {
     Config = config;
     EventManager = eventManager;
     Logger = new Logger(eventManager);
     
     Logger.LogVersionOneConfiguration(LogMessage.SeverityType.Info, Config["Settings"]);
 }
开发者ID:dgruesso,项目名称:VersionOne.Integration.Bugzilla,代码行数:7,代码来源:V1WriterServiceBase.cs

示例6: Initialize

        public void Initialize(XmlElement config, IEventManager eventManager, IProfile profile)
        {
            eventManager.Subscribe(typeof(LogMessage), HandleLogMessage);
            eventManager.Subscribe(typeof(ServiceHostState), HandleServiceHostStateMessage);

            ConfigureAppenders(config);
        }
开发者ID:marcinczekaj,项目名称:v1-jira-integration,代码行数:7,代码来源:LogService.cs

示例7: Initialize

 public virtual void Initialize(XmlElement config, IEventManager eventManager, IProfile profile) {
     folderFilterPattern = config["Filter"].InnerText;
     suiteName = config["SuiteName"].InnerText;
     monitor = new RecyclingFileMonitor(profile, config["Watch"].InnerText, folderFilterPattern, Process);
     this.eventManager = eventManager;
     this.eventManager.Subscribe(EventSinkType, monitor.ProcessFolder);
 }
开发者ID:dgruesso,项目名称:VersionOne.Integration.Bugzilla,代码行数:7,代码来源:FolderBatchProcessorService.cs

示例8: BuildSearchIndexesCommand

		public BuildSearchIndexesCommand(ITpBus bus, IProfileCollection profileCollection, IProfile profile, IPluginContext pluginContext, IPluginMetadata pluginMetadata)
		{
			_bus = bus;
			_profileCollection = profileCollection;
			_profile = profile;
			_pluginContext = pluginContext;
			_pluginMetadata = pluginMetadata;
		}
开发者ID:lakshithagit,项目名称:Target-Process-Plugins,代码行数:8,代码来源:BuildSearchIndexesCommand.cs

示例9: SerializeProfiles

 public void SerializeProfiles(IProfile profile)
 {
     using (StreamWriter writer = new StreamWriter(@"..\..\Database\Users\Profiles.txt", true))
     {
         writer.WriteLine();
         writer.Write(profile);
     }
 }
开发者ID:nikistefanov,项目名称:Telerik-Academy-Homework,代码行数:8,代码来源:DataManager.cs

示例10: UserSettingsService

        public UserSettingsService(ISecurityService securityService, IProfile profileRepository)
        {
            Security = securityService;



            Repository = profileRepository;
        }
开发者ID:robkobobko,项目名称:TicketDesk,代码行数:8,代码来源:UserSettingsService.cs

示例11: VirtualNode

        private VirtualNode(IProfile rootnode, IProfile node)
        {
            if (!node.Path.StartsWith(rootnode.Path))
                throw new ArgumentOutOfRangeException("node");

            _rootnode = rootnode;
            _node = node;
        }
开发者ID:marcinczekaj,项目名称:v1-jira-integration,代码行数:8,代码来源:VirtualNode.cs

示例12: Submit

 public void Submit(IProfile profile)
 {
     var message = string.Format("{0}\n{1}\n{2}",
         profile.Name,
         profile.Age,
         profile.Mail);
     MessageBox.Show(message, "送信");
 }
开发者ID:jdoiwork,项目名称:WPF_Samples,代码行数:8,代码来源:MessageBoxSubmitter.cs

示例13: QueryContacts

 private IDisposable QueryContacts(IProfile profile)
 {
     //TODO: What to do when a failure occurs?
     return _contactQueryAggregator.Search(profile)
                                   .SubscribeOn(_schedulerProvider.Concurrent)
                                   .ObserveOn(_schedulerProvider.Dispatcher)
                                   .Subscribe(_contact);
 }
开发者ID:CallWall,项目名称:CallWall.Windows,代码行数:8,代码来源:ProfileDashboard.cs

示例14: InternalInitialize

        protected override void InternalInitialize(XmlElement config, IEventManager eventmanager, IProfile profile) 
        {
            ReferenceExpression = config[ReferenceExpressionField].InnerText;
            repositoryFriendlyNameSpec = config[RepositoryFriendlyNameSpecField].InnerText;
            LoadLinkInfo(config[LinkNode]);

            svnInfo = connector.GetSvnInformation(RepositoryPath);
        }
开发者ID:njmyi,项目名称:VersionOne.Integration.Subversion,代码行数:8,代码来源:SvnReaderHostedService.cs

示例15: AreEqual

 public virtual bool AreEqual(IProfileModel model, IProfile entity)
 {
     return NameableEntityMapper.AreEqual(model, entity)
         // Profile Properties
         // <None>
         // Related Objects
         // <None>
         ;
 }
开发者ID:Jothay,项目名称:comic-vinescraper-api,代码行数:9,代码来源:Profiles.ProfileMappings.cs


注:本文中的IProfile类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。