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


C# NetOffice.Core类代码示例

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


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

示例1: COMObject

        public COMObject(Core factory, COMObject replacedObject)
        {
            // copy current factory info or set default
            if (null == factory)
                factory = Core.Default;
            Factory = factory;

            // copy proxy
            _underlyingObject = replacedObject.UnderlyingObject;
            _parentObject = replacedObject.ParentObject;
            _instanceType = replacedObject.InstanceType;

            // copy childs
            foreach (COMObject item in replacedObject.ListChildObjects)
                AddChildObject(item);

            // remove old object from parent chain
            if (!Object.ReferenceEquals(replacedObject.ParentObject, null))
            {
                COMObject parentObject = replacedObject.ParentObject;
                parentObject.RemoveChildObject(replacedObject);

                // add himself as child to parent object
                parentObject.AddChildObject(this);
            }

            Factory.RemoveObjectFromList(replacedObject);
            Factory.AddObjectToList(this);
        }
开发者ID:netintellect,项目名称:NetOffice,代码行数:29,代码来源:COMObject.cs

示例2: IChartCategory

		///<param name="factory">current used factory core</param>
		///<param name="parentObject">object there has created the proxy</param>
        ///<param name="comProxy">inner wrapped COM proxy</param>
		public IChartCategory(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
		{
			
		}
开发者ID:swatt6400,项目名称:NetOffice,代码行数:7,代码来源:IChartCategory.cs

示例3: TextInput

		///<param name="factory">current used factory core</param>
		///<param name="parentObject">object there has created the proxy</param>
        ///<param name="comProxy">inner wrapped COM proxy</param>
		public TextInput(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
		{
			
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:7,代码来源:TextInput.cs

示例4: CurrentAppDomain

 /// <summary>
 /// Creates an instance of the class
 /// </summary>
 /// <param name="owner">owner core</param>
 internal CurrentAppDomain(Core owner)
 {
     if (null == owner)
         throw new ArgumentNullException("owner");
     Owner = owner;
     AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(CurrentDomain_AssemblyResolve);
 }
开发者ID:netoffice,项目名称:NetOffice,代码行数:11,代码来源:CurrentAppDomain.cs

示例5: IMarkupPointer2

		///<param name="factory">current used factory core</param>
		///<param name="parentObject">object there has created the proxy</param>
        ///<param name="comProxy">inner wrapped COM proxy</param>
		public IMarkupPointer2(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
		{
			
		}
开发者ID:netintellect,项目名称:NetOffice,代码行数:7,代码来源:IMarkupPointer2.cs

示例6: IHTMLDocument5

		///<param name="factory">current used factory core</param>
		///<param name="parentObject">object there has created the proxy</param>
        ///<param name="comProxy">inner wrapped COM proxy</param>
		public IHTMLDocument5(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
		{
			
		}
开发者ID:swatt6400,项目名称:NetOffice,代码行数:7,代码来源:IHTMLDocument5.cs

示例7: IFormatColor

		///<param name="factory">current used factory core</param>
		///<param name="parentObject">object there has created the proxy</param>
        ///<param name="comProxy">inner wrapped COM proxy</param>
		public IFormatColor(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
		{
			
		}
开发者ID:swatt6400,项目名称:NetOffice,代码行数:7,代码来源:IFormatColor.cs

示例8: PivotGroupAxis

		public PivotGroupAxis(Core factory, COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
		{

		}
开发者ID:netintellect,项目名称:NetOffice,代码行数:4,代码来源:PivotGroupAxis.cs

示例9: Accounts

		///<param name="factory">current used factory core</param>
		///<param name="parentObject">object there has created the proxy</param>
        ///<param name="comProxy">inner wrapped COM proxy</param>
		public Accounts(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
		{
			
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:7,代码来源:Accounts.cs

示例10: OutlookBarPane

		public OutlookBarPane(Core factory, COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
		{
			
		}
开发者ID:netintellect,项目名称:NetOffice,代码行数:4,代码来源:OutlookBarPane.cs

示例11: DispHTCDescBehavior

		public DispHTCDescBehavior(Core factory, COMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
		{

		}
开发者ID:netintellect,项目名称:NetOffice,代码行数:4,代码来源:DispHTCDescBehavior.cs

示例12: SlideShowView

		///<param name="factory">current used factory core</param>
		///<param name="parentObject">object there has created the proxy</param>
        ///<param name="comProxy">inner wrapped COM proxy</param>
		public SlideShowView(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
		{
			
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:7,代码来源:SlideShowView.cs

示例13: PublishObject

		///<param name="factory">current used factory core</param>
		///<param name="parentObject">object there has created the proxy</param>
        ///<param name="comProxy">inner wrapped COM proxy</param>
		public PublishObject(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
		{
			
		}
开发者ID:netoffice,项目名称:NetOffice,代码行数:7,代码来源:PublishObject.cs

示例14: IHTMLFormElement2

		///<param name="factory">current used factory core</param>
		///<param name="parentObject">object there has created the proxy</param>
        ///<param name="comProxy">inner wrapped COM proxy</param>
		public IHTMLFormElement2(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
		{
			
		}
开发者ID:netintellect,项目名称:NetOffice,代码行数:7,代码来源:IHTMLFormElement2.cs

示例15: IWHTMLPassword

		///<param name="factory">current used factory core</param>
		///<param name="parentObject">object there has created the proxy</param>
        ///<param name="comProxy">inner wrapped COM proxy</param>
		public IWHTMLPassword(Core factory, COMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
		{
			
		}
开发者ID:swatt6400,项目名称:NetOffice,代码行数:7,代码来源:IWHTMLPassword.cs


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