Show / Hide Table of Contents

Class CollectionEventArgs<TResource>

The collection event arguments.

Inheritance
System.Object
CollectionEventArgs<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 CollectionEventArgs<TResource>
Type Parameters
Name Description
TResource

The containing stateful resource type. IResource<TSelf, TResource>

Constructors

View Source

CollectionEventArgs(ICollection<TResource>, ICollection<TResource>)

Initializes a new instance of the CollectionEventArgs<TResource> class.

Declaration
public CollectionEventArgs(ICollection<TResource> addedResources = null, ICollection<TResource> removedResources = null)
Parameters
Type Name Description
System.Collections.Generic.ICollection<TResource> addedResources

The added resources.

System.Collections.Generic.ICollection<TResource> removedResources

The removed resources.

Properties

View Source

AddedResources

Gets the added resources.

Declaration
public ICollection<TResource> AddedResources { get; }
Property Value
Type Description
System.Collections.Generic.ICollection<TResource>

The added resources.

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

RemovedResources

Gets the removed resources.

Declaration
public ICollection<TResource> RemovedResources { get; }
Property Value
Type Description
System.Collections.Generic.ICollection<TResource>

The removed resources.

Extension Methods

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