Class ResourceEventArgs<TResource>
The model event arguments.
Inheritance
System.Object
ResourceEventArgs<TResource>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.Graph.StatefulClient
Assembly: Microsoft.Graph.StatefulClient.dll
Syntax
public class ResourceEventArgs<TResource>
where TResource : Entity
Type Parameters
| Name | Description |
|---|---|
| TResource | The containing NewResource type. NewResource |
Constructors
View SourceResourceEventArgs(TResource, TResource)
Initializes a new instance of the ResourceEventArgs<TResource> class.
Declaration
public ResourceEventArgs(TResource oldResource, TResource newResource)
Parameters
| Type | Name | Description |
|---|---|---|
| TResource | oldResource | The old resource. |
| TResource | newResource | The new resource. |
Properties
View SourceAdditionalData
Gets or sets the additional data for the event.
Declaration
public IDictionary<string, object> AdditionalData { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IDictionary<System.String, System.Object> |
NewResource
Gets the new resource.
Declaration
public TResource NewResource { get; }
Property Value
| Type | Description |
|---|---|
| TResource |
OldResource
Gets the old resource.
Declaration
public TResource OldResource { get; }
Property Value
| Type | Description |
|---|---|
| TResource |