示例#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));
 }