Exemple #1
0
 public UserStore(
     IContainerSpecificContentCreator containerSpecificContentCreator,
     IContainerSpecificContentGetter containerSpecificContentGetter,
     IContainerSpecificContentUpdater containerSpecificContentUpdater,
     IContainerSpecificContentDeleter containerSpecificContentDeleter,
     IDocumentFinder documentFinder,
     IContentDeserializer contentDeserializer,
     IContentTypeProvider contentTypeProvider
     )
 {
     ContainerSpecificContentCreator = containerSpecificContentCreator;
     ContainerSpecificContentGetter  = containerSpecificContentGetter;
     ContainerSpecificContentUpdater = containerSpecificContentUpdater;
     ContainerSpecificContentDeleter = containerSpecificContentDeleter;
     DocumentFinder      = documentFinder;
     ContentDeserializer = contentDeserializer;
     ContentType         = contentTypeProvider.Get(typeof(User));
     Container           = ContentType.Container;
 }
 public RemoveContentController(IContainerSpecificContentDeleter containerSpecificContentDeleter, IContentTypeProvider contentTypeProvider, IContainerSpecificContentGetter containerSpecificContentGetter)
 {
     ContainerSpecificContentDeleter = containerSpecificContentDeleter;
     ContentTypeProvider             = contentTypeProvider;
     ContainerSpecificContentGetter  = containerSpecificContentGetter;
 }
 public ContentDeleter(IContainerSpecificContentDeleter containerSpecificContentDeleter)
 {
     ContainerSpecificContentDeleter = containerSpecificContentDeleter;
 }