Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Source/NetOffice/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ private Type RaiseResolve(ICOMObject caller, string fullClassName, Type comProxy
/// <summary>
/// Occurs when a new COMDynamicObject instance should be created
/// </summary>
[Obsolete("Support for dynamic objects will be removed in NetOffice 2.0")]
public event OnCreateCOMDynamicEventHandler CreateCOMDynamic;

/// <summary>
Expand All @@ -190,6 +191,7 @@ private Type RaiseResolve(ICOMObject caller, string fullClassName, Type comProxy
/// <param name="instance">requested instance</param>
/// <param name="comProxy">target proxy</param>
/// <returns>COMDynamicObject instance or null</returns>
[Obsolete("Support for dynamic objects will be removed in NetOffice 2.0")]
private COMDynamicObject RaiseCreateCOMDynamic(ICOMObject instance, object comProxy)
{
if (null != CreateCOMDynamic)
Expand Down
2 changes: 2 additions & 0 deletions Source/NetOffice/CoreExtensions/Core.Nested.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public static ProxyInformations Create(object comProxy)
/// <summary>
/// Arguments in CreateCOMDynamicEvent event
/// </summary>
[Obsolete("Support for dynamic objects will be removed in NetOffice 2.0")]
public class OnCreateCOMDynamicEventArgs : EventArgs
{
/// <summary>
Expand Down Expand Up @@ -201,6 +202,7 @@ public ResolveEventArgs(ICOMObject caller, string fullClassName, Type comProxy)
/// </summary>
/// <param name="sender">Core sender instance</param>
/// <param name="args">args as provided</param>
[Obsolete("Support for dynamic objects will be removed in NetOffice 2.0")]
public delegate void OnCreateCOMDynamicEventHandler(Core sender, OnCreateCOMDynamicEventArgs args);

/// <summary>
Expand Down
4 changes: 3 additions & 1 deletion Source/NetOffice/Dynamics/COMDynamicMetaObject.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.Dynamic;

namespace NetOffice.Dynamics
Expand All @@ -10,6 +11,7 @@ namespace NetOffice.Dynamics
/// <summary>
/// Wrapper around underlying DynamicMetaObject for debugging purposes.
/// </summary>
[Obsolete("Support for dynamic objects will be removed in NetOffice 2.0")]
public class COMDynamicMetaObject : DynamicMetaObject
{
/// <summary>
Expand Down
1 change: 1 addition & 0 deletions Source/NetOffice/Dynamics/DynamicObjectEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace NetOffice
/// <summary>
/// Runtime Entity Description
/// </summary>
[Obsolete("Support for dynamic objects will be removed in NetOffice 2.0")]
public class DynamicObjectEntity
{
/// <summary>
Expand Down
Loading