public EncounterLocksReader(
     IUrlBuilder urlBuilder,
     IServerReader serverReader,
     IStringDeserializer <List <EncounterEditLock> > parser)
 {
     this.urlBuilder   = urlBuilder;
     this.serverReader = serverReader;
     this.parser       = parser;
 }
Exemple #2
0
 public ServerEncounterWriter(
     IServerReader serverReader,
     IUrlBuilder urlBuilder,
     IStringSerializer <Sprite> spriteSerializer,
     IXmlSerializer <EncounterImageContent> imageDataSerializer,
     IXmlSerializer <EncounterNonImageContent> encounterContentSerializer)
 {
     ServerReader               = serverReader;
     UrlBuilder                 = urlBuilder;
     SpriteSerializer           = spriteSerializer;
     ImageDataSerializer        = imageDataSerializer;
     EncounterContentSerializer = encounterContentSerializer;
 }
Exemple #3
0
        public DataExtractor(IPersistenceConfiguration configuration,
            IFingerprintReader fingerprintReader,
            IServerReader serverReader,
            IServerWriter serverWriter)
        {
            _configuration = configuration;
            _fingerprintReader = fingerprintReader;
            _serverReader = serverReader;
            _serverWriter = serverWriter;
            
            _lastLoadedFingerprints = new DateTime(2000, 1, 1);
            _fingerprintTimes = new Dictionary<string, DateTime>();
            _fingerprints = new HashSet<string>();

            LoadServers();
            LoadLatestFingerprints();
        }
 public AutoLogin(IServerReader serverReader, IUrlBuilder webAddress, UserDeserializer userDeserializer)
 {
     ServerReader     = serverReader;
     WebAddress       = webAddress;
     UserDeserializer = userDeserializer;
 }
Exemple #5
0
 public ServerEncounterRemover(IServerReader serverReader, IUrlBuilder urlBuilder)
 {
     ServerReader = serverReader;
     UrlBuilder   = urlBuilder;
 }
 public ServerMetadatasReader(IUrlBuilder urlBuilder, IServerReader serverReader, IStringDeserializer <List <EncounterMetadata> > parser)
 {
     this.urlBuilder   = urlBuilder;
     this.serverReader = serverReader;
     this.parser       = parser;
 }
Exemple #7
0
 public DemoFileManager(IFileExtensionGetter fileExtensionManager, IServerReader serverReader)
 {
     this.fileExtensionManager = fileExtensionManager;
     this.serverReader         = serverReader;
 }
Exemple #8
0
 public RegisterUser(IUrlBuilder webAddress, IServerReader serverReader)
 {
     WebAddress   = webAddress;
     ServerReader = serverReader;
 }
 public ServerNonImageContentReader(IServerReader serverReader, IUrlBuilder urlBuilder, IStringDeserializer <EncounterNonImageContent> parser)
 {
     this.serverReader = serverReader;
     this.urlBuilder   = urlBuilder;
     this.parser       = parser;
 }
 public ResetPassword(IUrlBuilder webAddress, IServerReader serverReader)
 {
     WebAddress   = webAddress;
     ServerReader = serverReader;
 }
 public ResendEmail(IUrlBuilder webAddress, IServerReader serverReader)
 {
     WebAddress   = webAddress;
     ServerReader = serverReader;
 }