• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# IProfile类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: Initialize

        public void Initialize(XmlElement config, IEventManager eventManager, IProfile profile) {
            this.eventManager = eventManager;
            this.eventManager.Subscribe(typeof(V1TestReady), CreateQCTest);
            this.eventManager.Subscribe(typeof(WorkitemCreationResult), OnDefectCreated);
            this.eventManager.Subscribe(typeof(WorkitemStateChangeCollection), OnDefectStateChange);
            this.eventManager.Subscribe(typeof(ServiceHostState), HostStateChanged);

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


示例17: SaveCommit

 public void SaveCommit(IProfile profile, out bool success)
 {
     using (IUnitOfWork u = UnitOfWork.Begin())
     {
         Save(profile, out success);
         if (success)
             u.Commit();
     }
 }
开发者ID:coredweller,项目名称:PhishMarket,代码行数:9,代码来源:ProfileService.cs


示例18: DeleteCommit

        public void DeleteCommit(IProfile profile)
        {
            Checks.Argument.IsNotNull(profile, "profile");

            using (IUnitOfWork u = UnitOfWork.Begin())
            {
                _repo.Remove(profile);
                u.Commit();
            }
        }
开发者ID:coredweller,项目名称:PhishMarket,代码行数:10,代码来源:ProfileService.cs


示例19: Initialize

        public void Initialize(XmlElement configElement, IEventManager manager, IProfile profile) {
            eventManager = manager;
            this.profile = profile;
            logger = new Logger(eventManager);
            this.configElement = configElement;

            ConfigurationReader.ReadConfigurationValues(configuration, configElement);

            InitializeComponents();
        }
开发者ID:versionone,项目名称:VersionOne.ServiceHost.WorkitemServices,代码行数:10,代码来源:WorkitemWriterHostedService.cs


示例20: Initialize

        public void Initialize(XmlElement config, IEventManager eventManager, IProfile profile) {
            if(!double.TryParse(config["Interval"].InnerText, out interval)) {
                interval = -1;
            }

            publishtype = Type.GetType(config["PublishClass"].InnerText);
            eventmanager = eventManager;
            eventmanager.Subscribe(typeof(ServiceHostState), HostStateChanged);
            logger = new Logger(eventManager);
        }
开发者ID:walkingriver,项目名称:VersionOne.Integration.JIRA,代码行数:10,代码来源:TimePublisherService.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IProgram类代码示例发布时间:2022-05-24
下一篇:
C# IProductsRepository类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap