You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
788 B
39 lines
788 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Patcher.Data.Patch;
|
|
|
|
namespace Patcher.Web {
|
|
class CheckParams : ICheckParams {
|
|
|
|
protected readonly IPatcherConfiguration configuration;
|
|
|
|
public CheckParams(IPatcherConfiguration configuration) {
|
|
this.configuration = configuration;
|
|
}
|
|
|
|
public string DbDriverName {
|
|
get {
|
|
return this.configuration.DbDriverName;
|
|
}
|
|
}
|
|
|
|
public virtual string ConnectionString {
|
|
get {
|
|
return this.configuration.GuestConnectionString;
|
|
}
|
|
}
|
|
|
|
public string PatchesTable {
|
|
get {
|
|
return this.configuration.PatchesTable;
|
|
}
|
|
}
|
|
|
|
public IEnumerable<PatchId> getPatchesList() {
|
|
return this.configuration.getPatchesList();
|
|
}
|
|
|
|
}
|
|
}
|
|
|