Пример #1
0
 public void Store(WebClinetData webClinetData)
 {
     Console.WriteLine("Stroing badly web client data");
 }
Пример #2
0
        static void Main(string[] args)
        {
            WebClinetData webClinetData = new WebClinetData("MyClient", 1, "190.120.0.1", true);

            storeClient(new AdapterWebToNonWeb(), webClinetData);
        }
Пример #3
0
 // non mutable
 private static void storeClient(IDBWebData dBWebData, WebClinetData webClinetData)
 {
     dBWebData.Store(webClinetData);
 }
Пример #4
0
 public void Store(WebClinetData webClinetData)
 {
     iDBData.Store(new ClientData(webClinetData.name, webClinetData.id));
 }