Class NotificationDataPartition
Inheritance
System.Object
NotificationDataPartition
Assembly: Eco.Gameplay.dll
Syntax
public class NotificationDataPartition : Object, IStoredDataPartition<Notification>, IDataPartition<Notification>, IStorage, ISerializable
Constructors
NotificationDataPartition()
Declaration
public NotificationDataPartition()
Properties
Entries
Declaration
public ThreadSafeList<Notification> Entries { get; }
Property Value
NumEntries
Declaration
public int NumEntries { get; }
Property Value
Type |
Description |
System.Int32 |
|
StorageHandle
Declaration
public IPersistent StorageHandle { get; set; }
Property Value
Methods
AddEntry(Notification)
Declaration
public void AddEntry(Notification notification)
Parameters
GetEnumerable()
Declaration
public IEnumerable<Notification> GetEnumerable()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Notification> |
|
RemoveAll(Predicate<Notification>)
Removes all entries matching predicate
and returns number of removed entries.
Declaration
public int RemoveAll(Predicate<Notification> predicate)
Parameters
Type |
Name |
Description |
System.Predicate<Notification> |
predicate |
|
Returns
Type |
Description |
System.Int32 |
|
Implements
Extension Methods