diff --git a/Esiur.Stores.MongoDB/Esiur.Stores.MongoDB.csproj b/Esiur.Stores.MongoDB/Esiur.Stores.MongoDB.csproj index 3e5c8dc..1dfb42c 100644 --- a/Esiur.Stores.MongoDB/Esiur.Stores.MongoDB.csproj +++ b/Esiur.Stores.MongoDB/Esiur.Stores.MongoDB.csproj @@ -2,6 +2,15 @@ netstandard1.5 + Ahmed Kh. Zamil + Esiur + Esiur MongoDB Store + MongoDB Store for Esiur Library + Ahmed Kh. Zamil + https://github.com/esiur/esiur-dotnet/blob/master/LICENSE + http://www.esiur.com + https://github.com/esiur/esiur-dotnet/ + True diff --git a/Esiur/Engine/AsyncBag.cs b/Esiur/Engine/AsyncBag.cs index e7f5a87..6b10b1f 100644 --- a/Esiur/Engine/AsyncBag.cs +++ b/Esiur/Engine/AsyncBag.cs @@ -8,8 +8,6 @@ namespace Esiur.Engine { public class AsyncBag:AsyncReply { - //List replies = new List(); - //List results = new List(); Dictionary results = new Dictionary(); int count = 0; bool sealedBag = false; @@ -19,13 +17,6 @@ namespace Esiur.Engine base.Then(new Action(o => callback((T[])o))); } - /* - public void Trigger(T[] result) - { - Trigger((object)result); - } - */ - public void Seal() { sealedBag = true; @@ -54,11 +45,5 @@ namespace Esiur.Engine } - /* - public AsyncBag(T[] result) - { - this.result = result; - } - */ } } diff --git a/Esiur/Esiur.csproj b/Esiur/Esiur.csproj index 83dce16..f125026 100644 --- a/Esiur/Esiur.csproj +++ b/Esiur/Esiur.csproj @@ -2,6 +2,14 @@ netstandard1.5 + Distributed Resources Platform + Ahmed Kh. Zamil + https://github.com/esiur/esiur-dotnet/blob/master/LICENSE + http://www.esiur.com + True + 1.0.0 + https://github.com/esiur/esiur-dotnet + Ahmed Kh. Zamil @@ -9,6 +17,10 @@ TRACE;DEBUG;NETSTANDARD1_5 + + True + + diff --git a/Esiur/Net/Packets/Packet.cs b/Esiur/Net/Packets/Packet.cs index b8a0163..2f61616 100644 --- a/Esiur/Net/Packets/Packet.cs +++ b/Esiur/Net/Packets/Packet.cs @@ -1,31 +1,33 @@ -/******************************************************************************\ -* Uruky Sniffer Project * -* * -* Copyright (C) 2006 Ahmed Khalaf - ahmed@uruky.com * -* ahmed_baghdad@yahoo.com * -* http://www.uruky.com * -* http://www.dijlh.com * -* * -* This program is free software; you can redistribute it and/or modify * -* it under the terms of the GNU General Public License as published by * -* the Free Software Foundation; either version 2, or (at your option) * -* any later version. * -* * -* This program is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU General Public License for more details. * -* * -* You should have received a copy of the GNU General Public License * -* along with this program; if not, write to the Free Software * -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * -* * -* File: Packet.cs * -* Description: Ethernet/ARP/IPv4/TCP/UDP Packet Decoding & Encoding Class * -* Compatibility: .Net Framework 2.0 / Mono 1.1.8 * -* * -\******************************************************************************/ +/********************************************************************************\ +* Uruky Project * +* * +* Copyright (C) 2006 Ahmed Zamil - ahmed@dijlh.com * +* http://www.dijlh.com * +* * +* Permission is hereby granted, free of charge, to any person obtaining a copy * +* of this software and associated documentation files (the "Software"), to deal * +* in the Software without restriction, including without limitation the rights * +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * +* copies of the Software, and to permit persons to whom the Software is * +* furnished to do so, subject to the following conditions: * +* * +* The above copyright notice and this permission notice shall be included in all * +* copies or substantial portions of the Software. * +* * +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * +* SOFTWARE. * +* * +* File: Packet.cs * +* Description: Ethernet/ARP/IPv4/TCP/UDP Packet Decoding & Encoding Class * +* Compatibility: .Net Framework 2.0 / Mono 1.1.8 * +* * +\********************************************************************************/ diff --git a/Test/MyObject.cs b/Test/MyObject.cs index bee5cb6..b328b22 100644 --- a/Test/MyObject.cs +++ b/Test/MyObject.cs @@ -25,7 +25,7 @@ namespace Test { Info = new Structure(); Info["size"] = 200; - Info["age"] = 30; + Info["age"] = 28; Info["name"] = "Zamil"; Name = "Ahmed"; Level = 5; diff --git a/Test/Program.cs b/Test/Program.cs index 5e71ca0..758b4f5 100644 --- a/Test/Program.cs +++ b/Test/Program.cs @@ -1,8 +1,6 @@ /* -Copyright(c) Ahmed Kh. Zamil - -All rights reserved. +Copyright (c) 2017 Ahmed Kh. Zamil Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal