示例#1
0
 public OrderService(IOrderPartService orderPartService, 
     IClock clock,
     ISerialisation serialisation) {
     _orderPartService = orderPartService;
     _clock = clock;
     _serialisation = serialisation;
 }
 public void AppelSerialisation(string reponse)
 {
     Fabrique Fabrique = new Fabrique();
     Serial = Fabrique.AppelInstance(reponse);
     List<Entree> result = Serial.Load();
     if (result != null)
         Rank = result;
 }
示例#3
0
 public BasicClient(ITableGenerator tableGenerator, IBasicService basicService, ISerialisation serialisation, ICompression compression, IEncryption encryption, TokenTableSet tokenTableSet)
 {
     _tableGenerator = tableGenerator;
     _basicService   = basicService;
     _serialisation  = serialisation;
     _compression    = compression;
     _encryption     = encryption;
     if (tokenTableSet == null)
     {
         _tokenTableSet = GenerateTokenTable();
     }
     else
     {
         _tokenTableSet = tokenTableSet;
     }
 }
示例#4
0
 public Core(Label progress_label)
 {
     _data          = new Dictionary <EInfo, String>();
     _serialisation = new XMLInfoSerialisation();
     _network       = new NetworkFTP(progress_label);
 }
示例#5
0
 public BasicClientFactory(ISerialisation serialisation, ICompression compression, IEncryption encryption)
 {
     _serialisation = serialisation;
     _compression   = compression;
     _encryption    = encryption;
 }