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 SourceCollectionEventArgs(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 SourceAddedResources
Gets the added resources.
Declaration
public ICollection<TResource> AddedResources { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<TResource> | The added resources. |
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> |
RemovedResources
Gets the removed resources.
Declaration
public ICollection<TResource> RemovedResources { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<TResource> | The removed resources. |