/// <summary> /// Initializes a new instance of the <see cref="GameServerDefinitionRepository"/> class. /// </summary> /// <param name="repositoryManager">The repository manager.</param> public GameServerDefinitionRepository(RepositoryManager repositoryManager) : base(repositoryManager) { }
/// <summary> /// Initializes a new instance of the <see cref="PlayerContext" /> class. /// </summary> /// <param name="context">The context.</param> /// <param name="repositoryManager">The repository manager.</param> public PlayerContext(DbContext context, RepositoryManager repositoryManager) : base(context, repositoryManager) { }
/// <summary> /// Initializes a new instance of the <see cref="GameConfigurationRepository" /> class. /// </summary> /// <param name="repositoryManager">The repository manager.</param> /// <param name="logger">The logger.</param> public GameConfigurationRepository(RepositoryManager repositoryManager, ILogger <GameConfigurationRepository> logger) : base(repositoryManager, logger) { this.objectLoader = new GameConfigurationJsonObjectLoader(); }
/// <summary> /// Initializes a new instance of the <see cref="LetterBodyRepository" /> class. /// </summary> /// <param name="repositoryManager">The repository manager.</param> public LetterBodyRepository(RepositoryManager repositoryManager) : base(repositoryManager) { }
/// <summary> /// Initializes a new instance of the <see cref="EntityFrameworkContextBase" /> class. /// </summary> /// <param name="context">The db context.</param> /// <param name="repositoryManager">The repository manager.</param> /// <param name="isOwner">If set to <c>true</c>, this instance owns the <see cref="Context"/>. That means it will be disposed when this instance will be disposed.</param> protected EntityFrameworkContextBase(DbContext context, RepositoryManager repositoryManager, bool isOwner) { this.Context = context; this.RepositoryManager = repositoryManager; this.isOwner = isOwner; }
/// <summary> /// Initializes a new instance of the <see cref="LetterBodyRepository" /> class. /// </summary> /// <param name="repositoryManager">The repository manager.</param> /// <param name="logger">The logger.</param> public LetterBodyRepository(RepositoryManager repositoryManager, ILogger <LetterBodyRepository> logger) : base(repositoryManager, logger) { }
/// <summary> /// Initializes a new instance of the <see cref="GenericRepository{T}" /> class. /// </summary> /// <param name="repositoryManager">The repository manager.</param> /// <param name="logger">The logger.</param> public GenericRepository(RepositoryManager repositoryManager, ILogger logger) : base(repositoryManager, logger) { }
/// <summary> /// Initializes a new instance of the <see cref="GameServerDefinitionRepository" /> class. /// </summary> /// <param name="repositoryManager">The repository manager.</param> /// <param name="logger">The logger.</param> public GameServerDefinitionRepository(RepositoryManager repositoryManager, ILogger <GameServerDefinitionRepository> logger) : base(repositoryManager, logger) { }
/// <summary> /// Initializes a new instance of the <see cref="CachingGameConfigurationRepository" /> class. /// </summary> /// <param name="repositoryManager">The repository manager.</param> public CachingGameConfigurationRepository(RepositoryManager repositoryManager) : base(repositoryManager) { this.objectLoader = new GameConfigurationJsonObjectLoader(); }
/// <summary> /// Initializes a new instance of the <see cref="EntityFrameworkContext" /> class. /// </summary> /// <param name="context">The db context.</param> /// <param name="repositoryManager">The repository manager.</param> /// <param name="isOwner">If set to <c>true</c>, this instance owns the <see cref="EntityFrameworkContextBase.Context" />. That means it will be disposed when this instance will be disposed.</param> public EntityFrameworkContext(DbContext context, RepositoryManager repositoryManager, bool isOwner) : base(context, repositoryManager, isOwner) { }
/// <summary> /// Initializes a new instance of the <see cref="GuildServerContext" /> class. /// </summary> /// <param name="guildContext">The guild context.</param> /// <param name="repositoryManager">The repository manager.</param> public GuildServerContext(GuildContext guildContext, RepositoryManager repositoryManager) : base(guildContext, repositoryManager) { }
/// <summary> /// Initializes a new instance of the <see cref="FriendServerContext"/> class. /// </summary> /// <param name="context">The context.</param> /// <param name="repositoryManager">The repositoryManager.</param> public FriendServerContext(FriendContext context, RepositoryManager repositoryManager) : base(context, repositoryManager) { }