Class CanAcceptanceFilterCollection
Represents a collection of CAN acceptance filters.
Assembly: Meadow.Contracts.dll
View Source
Declaration
public sealed class CanAcceptanceFilterCollection
Properties
MaxFilterCount
Gets the maximum number of filters that can be contained in the collection.
View Source
Declaration
public int MaxFilterCount { get; }
this[int]
Gets the filter at the specified index.
View Source
Declaration
public CanAcceptanceFilter this[int index] { get; }
Count
Gets the count of filters in the collection
View Source
Declaration
public int Count { get; }
Methods
Clear()
Removes all filters from the collection.
View Source
Declaration
public void Clear()
Add(CanAcceptanceFilter)
Adds a filter to the collection.
View Source
Declaration
public void Add(CanAcceptanceFilter filter)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Hardware.CanAcceptanceFilter | filter | The filter to add. |
Remove(CanAcceptanceFilter)
Removes a filter from the collection.
View Source
Declaration
public void Remove(CanAcceptanceFilter filter)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Hardware.CanAcceptanceFilter | filter | The filter to remove. |
Events
CollectionChanged
Occurs when the collection is changed.
View Source
Declaration
public event EventHandler<(CollectionChangeAction Action, CanAcceptanceFilter Filter)>? CollectionChanged
Event Type
System.EventHandler<System.ValueTuple<System.ComponentModel.CollectionChangeAction,Meadow.Hardware.CanAcceptanceFilter>>