ClassProjectCloudStorageRepositoryFactory
Class
Definition
Namespace:ArtOfTest.WebAii.Design.Repository
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
cs-api-definition
public class ProjectCloudStorageRepositoryFactory : IExtendedRepositoryFactory, IRepositoryFactory
Inheritance: objectProjectCloudStorageRepositoryFactory
Implements:
Constructors
ProjectCloudStorageRepositoryFactory(ICloudStorageSession, IRepositoryResourceMapping)
Declaration
cs-api-definition
public ProjectCloudStorageRepositoryFactory(ICloudStorageSession repositorySession, IRepositoryResourceMapping mapper)
Parameters
repositorySession
ICloudStorageSession
mapper
Methods
CreateLightweightRepository<T, U>(params string[])
Declaration
cs-api-definition
public IStorageRepository<IStorageDocument<T>> CreateLightweightRepository<T, U>(params string[] pathParts) where T : class, IDataTransport where U : class, IDataTransport
Parameters
pathParts
string[]
Returns
IStorageRepository<IStorageDocument<T>>
CreateRepository<T>(params string[])
Declaration
cs-api-definition
public IStorageRepository<IStorageDocument<T>> CreateRepository<T>(params string[] pathParts) where T : class, IDataTransport
Parameters
pathParts
string[]
Overloaded to represent the list of fields to return in this repo
Returns
IStorageRepository<IStorageDocument<T>>