Show / Hide Table of Contents

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 Source

ResourceEventArgs(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 Source

AdditionalData

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>
View Source

NewResource

Gets the new resource.

Declaration
public TResource NewResource { get; }
Property Value
Type Description
TResource
View Source

OldResource

Gets the old resource.

Declaration
public TResource OldResource { get; }
Property Value
Type Description
TResource

Extension Methods

GraphModelExtensions.SetInAdditionalData(Object, String, Object)
  • View Source
Back to top Generated by DocFX