Interface IPersistenceServiceProvider
Represents a persistence service provider.
Namespace: Telerik.Windows.Persistence.Services
Assembly: Telerik.Windows.Controls.dll
Syntax
public interface IPersistenceServiceProvider
Methods
RegisterProvider<T>(T)
Registers the provider.
Declaration
void RegisterProvider<T>(T provider)
where T : IPersistenceProvider
Parameters
T
provider
The provider. |
Type Parameters
T
The persistence provider. |
ResolveProvider<T>()
Resolves the provider.
Declaration
T ResolveProvider<T>()
where T : IPersistenceProvider
Returns
T
|
Type Parameters
T
The persistence provider. |
UnregisterPersistenceProvider(Type)
Unregisters a specific persistence provider type.
Declaration
bool UnregisterPersistenceProvider(Type persistenceProviderType)
Parameters
System.Type
persistenceProviderType
The type of the persistence provider. |
Returns
System.Boolean
Returns true if the persistence provider is unregistered. |