Class ResourceEventArgs<TEntity>
The resource event arguments.
Inherited Members
Namespace: Microsoft.Graph.Communications.Resources
Assembly: Microsoft.Graph.Communications.Client.dll
Syntax
public class ResourceEventArgs<TEntity>
where TEntity : Entity
Type Parameters
Name | Description |
---|---|
TEntity | The containing NewResource type. NewResource |
Constructors
ResourceEventArgs(TEntity, TEntity, String)
Initializes a new instance of the ResourceEventArgs<TEntity> class.
Declaration
public ResourceEventArgs(TEntity oldResource, TEntity newResource, string resourcePath)
Parameters
Type | Name | Description |
---|---|---|
TEntity | oldResource | The old resource. |
TEntity | newResource | The new resource. |
String | resourcePath | The resource path. |
Properties
AdditionalData
Gets or sets the additional data for the event.
Declaration
public IDictionary<string, object> AdditionalData { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<String, Object> |
NewResource
Gets the new resource.
Declaration
public TEntity NewResource { get; }
Property Value
Type | Description |
---|---|
TEntity |
OldResource
Gets the old resource.
Declaration
public TEntity OldResource { get; }
Property Value
Type | Description |
---|---|
TEntity |
ResourcePath
Gets the resource path for this resource.
Declaration
public string ResourcePath { get; }
Property Value
Type | Description |
---|---|
String |