Class CollectionEventArgs<TEntity>
The collection event arguments.
Inherited Members
Namespace: Microsoft.Graph.Communications.Resources
Assembly: Microsoft.Graph.Communications.Client.dll
Syntax
public class CollectionEventArgs<TEntity>
Type Parameters
Name | Description |
---|---|
TEntity | The containing stateful resource type. IResource<TSelf, TEntity> |
Constructors
CollectionEventArgs(String, ICollection<TEntity>, ICollection<TEntity>, ICollection<TEntity>)
Initializes a new instance of the CollectionEventArgs<TEntity> class.
Declaration
public CollectionEventArgs(string resourcePath, ICollection<TEntity> addedResources = null, ICollection<TEntity> updatedResources = null, ICollection<TEntity> removedResources = null)
Parameters
Type | Name | Description |
---|---|---|
String | resourcePath | The resource path. |
ICollection<TEntity> | addedResources | The added resources. |
ICollection<TEntity> | updatedResources | The updated resources. |
ICollection<TEntity> | removedResources | The removed resources. |
Properties
AddedResources
Gets the added resources.
Declaration
public ICollection<TEntity> AddedResources { get; }
Property Value
Type | Description |
---|---|
ICollection<TEntity> |
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> |
RemovedResources
Gets the removed resources.
Declaration
public ICollection<TEntity> RemovedResources { get; }
Property Value
Type | Description |
---|---|
ICollection<TEntity> |
ResourcePath
Gets the resource path for the collection.
Declaration
public string ResourcePath { get; }
Property Value
Type | Description |
---|---|
String |
UpdatedResources
Gets the updated resource.
Declaration
public ICollection<TEntity> UpdatedResources { get; }
Property Value
Type | Description |
---|---|
ICollection<TEntity> |