public ProfileRepository(IProfilePersister profilePersister, IProfileStoragePersister profileStoragePersister, IPluginMetadata pluginMetadata, IEventAggregator eventAggregator) { _profilePersister = profilePersister; _profileStoragePersister = profileStoragePersister; _pluginMetadata = pluginMetadata; _eventAggregator = eventAggregator; }
public NamedStoragePersistanceStrategy(IProfileStoragePersister persister, ProfileId profileId, TypeNameWithoutVersion key, params StorageName[] storageNames) { _persister = persister; _profileId = profileId; _key = key; _storageNames = storageNames; }
public ProfileToStorageAdapter(ProfileId profileId, IProfileStoragePersister persister, Type keyType, params StorageName[] storageNames) { _profileId = profileId; _key = ProfileStorage.Key(keyType); if (storageNames == null) { _persistanceStrategy = new NotNamedStoragePersistanceStrategy(persister, profileId, _key); } else { _persistanceStrategy = new NamedStoragePersistanceStrategy(persister, profileId, _key, storageNames); } }
public NotNamedStoragePersistanceStrategy(IProfileStoragePersister persister, ProfileId profileId, TypeNameWithoutVersion key) { _persister = persister; _profileId = profileId; _key = key; }
public ProfileStorageCollection(ProfileId profileId, IProfileStoragePersister persister) { _profileId = profileId; _persister = persister; }
public ProfileToStorageAdapter(ProfileId profileId, IProfileStoragePersister persister, params StorageName[] storageNames) : this(profileId, persister, typeof(T), storageNames) { }
public ProfileToStorageAdapter(ProfileId profileId, IProfileStoragePersister persister) : this(profileId, persister, typeof(T), null) { }
public ProfileStorageRepository(ProfileId profileId, IProfileStoragePersister profileStoragePersister, IPluginMetadata pluginMetadata) { _profileId = profileId; _profileStoragePersister = profileStoragePersister; _pluginMetadata = pluginMetadata; }