Interface IComposerItemStore
- Namespace
- Inetlab.SMPP.Common
- Assembly
- Inetlab.SMPP.dll
public interface IComposerItemStore
Methods
AddOrUpdate(string, Func<ComposerItem>, Action<ComposerItem>)
ComposerItem AddOrUpdate(string key, Func<ComposerItem> addFactory, Action<ComposerItem> update)
Parameters
key
string
addFactory
Func<ComposerItem>
update
Action<ComposerItem>
Returns
- ComposerItem
Clear()
[Obsolete("Will be removed in version 3.0.")]
void Clear()
GetAll()
[Obsolete("Will be removed in version 3.0.")]
ICollection<ComposerItem> GetAll()
Returns
- ICollection<ComposerItem>
TryGet(string, out ComposerItem)
bool TryGet(string key, out ComposerItem item)
Parameters
key
string
item
ComposerItem
Returns
- bool
TryRemove(string)
bool TryRemove(string key)
Parameters
key
string
Returns
- bool