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

C# IRegion类代码示例

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

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



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

示例1: Page_Load

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            isConstValueTypeLoad = false;
            this.cmbCustomerTop.InnerDropDownList.Load += new EventHandler(cmbCustomerTop_Load);
            
            iRegion = ServiceAgent.getInstance().GetMaintainObjectByName<IRegion>(WebConstant.IRegion);
            pmtMessage1 = this.GetLocalResourceObject(Pre + "_pmtMessage1").ToString();
            pmtMessage2 = this.GetLocalResourceObject(Pre + "_pmtMessage2").ToString();
            pmtMessage3 = this.GetLocalResourceObject(Pre + "_pmtMessage3").ToString();
            pmtMessage4 = this.GetLocalResourceObject(Pre + "_pmtMessage4").ToString();
            pmtMessage5 = this.GetLocalResourceObject(Pre + "_pmtMessage5").ToString();
            pmtMessage6 = this.GetLocalResourceObject(Pre + "_pmtMessage6").ToString();
            if (!this.IsPostBack)
            {
                userName = Master.userInfo.UserId;
                this.HiddenUserName.Value = userName;
                initLabel();
                initcustomer();
                bindTable(null, DEFAULT_ROWS);
            }

            ScriptManager.RegisterStartupScript(this.updatePanelAll, typeof(System.Object), "InitControl", "initControls();", true);
        }
        catch (FisException ex)
        {
            showErrorMessage(ex.mErrmsg);
        }
        catch (Exception ex)
        {
            showErrorMessage(ex.Message);
        }
    }
开发者ID:wra222,项目名称:testgit,代码行数:34,代码来源:RegionMaintain.aspx.cs


示例2: Field

 public Field(ReturnType type, string fullyQualifiedName, Modifier m, IRegion region)
 {
     this.returnType = type;
     this.FullyQualifiedName = fullyQualifiedName;
     this.region = region;
     modifiers = (ModifierEnum)m;
 }
开发者ID:slluis,项目名称:monodevelop-prehistoric,代码行数:7,代码来源:Field.cs


示例3: HeaderRegionController

 public HeaderRegionController(IUnityContainer container, IEventAggregator eventAggregator, 
     [Dependency(ShellRegionNames.HeaderRegion)] IRegion headerRegion)
 {
     _container = container;
     _eventAggregator = eventAggregator;
     _headerRegion = headerRegion;
 }
开发者ID:CHOUAiB,项目名称:WPF-Framework,代码行数:7,代码来源:HeaderRegionController.cs


示例4: Constructor

		public Constructor(Modifier m, IRegion region, IRegion bodyRegion)
		{
			FullyQualifiedName = "ctor";
			this.region     = region;
			this.bodyRegion = bodyRegion;
			modifiers = (ModifierEnum)m;
		}
开发者ID:Kalnor,项目名称:monodevelop,代码行数:7,代码来源:Constructor.cs


示例5: Adapt

        protected override void Adapt(IRegion region, Selector regionTarget)
        {
            if (!(regionTarget is OutlookBarControl))
                throw new ArgumentException(Resources.RegionTargetNotValidException);

            base.Adapt(region, regionTarget);
        }
开发者ID:jfromaniello,项目名称:prismcontrib,代码行数:7,代码来源:OutlookBarControlRegionAdapter.cs


示例6: Add

			public void Add(IRegion region)
			{
				if (region.Name == null)
				{
					throw new InvalidOperationException("Region name cannot be empty");
				}

				if (this.GetRegionByName(region.Name) != null)
				{
					throw new ArgumentException("Region already exists: " + region.Name);
				}

				var r = region as Region;
				if (r != null)
				{
					if (r.RegionManager != null)
					{
						throw new ArgumentException("Region is already associated with a region manager");
					}
					r.RegionManager = _regionManager;

					string regionName = region.Name;
					r.RegionClosed += delegate { Remove(regionName); };
				}

				_regions.Add(region);
			}
开发者ID:matthewc-mps-aust,项目名称:quokka,代码行数:27,代码来源:RegionManager.cs


示例7: Destructor

 public Destructor(string className, Modifier m, IRegion region, IRegion bodyRegion)
 {
     FullyQualifiedName = "~" + className;
     this.region     = region;
     this.bodyRegion = bodyRegion;
     modifiers = (ModifierEnum)m;
 }
开发者ID:slluis,项目名称:monodevelop-prehistoric,代码行数:7,代码来源:Destructor.cs


示例8: MenuRegionController

 public MenuRegionController(IUnityContainer container,
     [Dependency(ShellRegionNames.MenuRegion)] IRegion menuRegion)
 {
     _container = container;
     _eventAggregator = _container.Resolve<IEventAggregator>();
     _menuRegion = menuRegion;
 }
开发者ID:CHOUAiB,项目名称:WPF-Framework,代码行数:7,代码来源:MenuRegionController.cs


示例9: Class

 public Class(CompilationUnit cu, ClassType t, Modifier m, IRegion region)
 {
     this.cu = cu;
     classType = t;
     this.region = region;
     modifiers = (ModifierEnum)m;
 }
开发者ID:slluis,项目名称:monodevelop-prehistoric,代码行数:7,代码来源:Class.cs


示例10: RegionDisplayItem

 public RegionDisplayItem(IRegion region)
 {
     Id = region.Id;
     Name = region.Name;
     AverageCTDI = region.DRL_CTDI;
     AverageDLP = region.DRL_DLP;
 }
开发者ID:Trigger2991,项目名称:CTSurvey,代码行数:7,代码来源:RegionDisplayItem.cs


示例11: LoginController

        public LoginController(IEventAggregator eventAggregator, 
            IRegionManager regionManager, ILoginView view, ILinqApi api, ICredentialsStore store, IAsyncManager manager)
        {
            eventAggregator.GetEvent<InitialViewActivatedEvent>().Subscribe(
                DoLogin);

            this.region = regionManager.Regions[RegionNames.DialogRegion];

            this.eventAggregator = eventAggregator;
            this.view = view;
            this.api = api;
            this.store = store;
            this.manager = manager;
            this.region.Add(this.view);

            this.username = store.Username;
            this.password = store.Password;

            this.view.DataContext = this;

            this.provideCredentialsCommand =
                new DelegateCommand<object>(this.ProvideCredentials,
                                            o =>
                                            !(String.IsNullOrEmpty(this.Username) ||
                                              String.IsNullOrEmpty(this.Password)));
        }
开发者ID:ArildF,项目名称:linqtwit,代码行数:26,代码来源:LoginController.cs


示例12: AttachBehaviors

        protected override void AttachBehaviors(IRegion region, Selector regionTarget)
        {
            base.AttachBehaviors(region, regionTarget);

            OutlookBarPublishBehavior behavior = new OutlookBarPublishBehavior(regionTarget, eventAggregator);
            behavior.Attach();
        }
开发者ID:jfromaniello,项目名称:prismcontrib,代码行数:7,代码来源:OutlookBarControlRegionAdapter.cs


示例13: DeleteRegionCore

 protected override void DeleteRegionCore(IRegion region)
 {
     BetaRegion r = region as BetaRegion;
     if (r != null) {
         r.Dispose();
     }
 }
开发者ID:vfioox,项目名称:ENULib,代码行数:7,代码来源:BetaRegionManager.cs


示例14: ReplayRecorder

 public ReplayRecorder(IRegion region, string gameId,string encKey)
 {
     GameId = gameId;
     EncKey = encKey;
     writer = new ReplayWriter(region,gameId);
     Getter = new Getter(region, gameId);
 }
开发者ID:AnnieReplays,项目名称:AnnieReplays,代码行数:7,代码来源:ReplayRecorder.cs


示例15: before_each

 public void before_each()
 {
     logProvider = MockRepository.GenerateStub<ILogProvider>();
     logSourceView = MockRepository.GenerateStub<ILogSourceView>();
     regionManager = MockRepository.GenerateStub<IRegionManager>();
     region = MockRepository.GenerateMock<IRegion>();
     regionManager.Stub(x => x.Regions[null]).IgnoreArguments().Return(region);
 }
开发者ID:jenrom,项目名称:LogSpy,代码行数:8,代码来源:LogSourcePresenterTests.cs


示例16: Property

		public Property(string fullyQualifiedName, ReturnType type, Modifier m, IRegion region, IRegion bodyRegion)
		{
			this.FullyQualifiedName = fullyQualifiedName;
			returnType = type;
			this.region = region;
			this.bodyRegion = bodyRegion;
			modifiers = (ModifierEnum)m;
		}
开发者ID:Kalnor,项目名称:monodevelop,代码行数:8,代码来源:Property.cs


示例17: Method

 public Method(string name, ReturnType type, Modifier m, IRegion region, IRegion bodyRegion)
 {
     FullyQualifiedName = name;
     returnType = type;
     this.region     = region;
     this.bodyRegion = bodyRegion;
     modifiers = (ModifierEnum)m;
 }
开发者ID:slluis,项目名称:monodevelop-prehistoric,代码行数:8,代码来源:Method.cs


示例18: PageRegionViewModel

 public PageRegionViewModel(IRegion region)
 {
     if (region != null)
     {
         RegionId = region.Id;
         RegionIdentifier = region.RegionIdentifier;
     }
 }
开发者ID:wezmag,项目名称:BetterCMS,代码行数:8,代码来源:PageRegionViewModel.cs


示例19: Attach

        /// <summary>
        ///     Attaches all necesary event handlers, sets bindings an properties
        /// </summary>
        /// <param name="region">Region to attach to</param>
        /// <param name="regionHost">Region host to attach to</param>
        /// <exception cref="ArgumentNullException">
        ///     When <paramref name="region"/> or <paramref name="regionHost"/> is null
        /// </exception>
        /// <exception cref="InvalidOperationException">
        ///     When <paramref name="region"/> or <paramref name="regionHost"/> do not 
        ///     meet requirements of this <see cref="IRegionBehavior"/>
        /// </exception>
        public void Attach(IRegion region, DependencyObject regionHost)
        {
            if (region == null) throw new ArgumentNullException("region");
            if (regionHost == null) throw new ArgumentNullException("regionHost");

            region.ActiveViews.CollectionChanged +=
                RegionActiveViewsChanged;
        }
开发者ID:NomadPL,项目名称:Nomad,代码行数:20,代码来源:ActiveAwareBehavior.cs


示例20: Indexer

 public Indexer(ReturnType type, ParameterCollection parameters, Modifier m, IRegion region, IRegion bodyRegion)
 {
     returnType      = type;
     this.parameters = parameters;
     this.region     = region;
     this.bodyRegion = bodyRegion;
     modifiers = (ModifierEnum)m;
 }
开发者ID:slluis,项目名称:monodevelop-prehistoric,代码行数:8,代码来源:Indexer.cs



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C# IRegionClientCapsService类代码示例发布时间:2022-05-24
下一篇:
C# IReflector类代码示例发布时间: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