12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Collections.Generic;
- using System.Configuration;
- using System.Text;
- using SuperSocket.Common;
- using SuperSocket.SocketBase.Config;
- namespace SuperSocket.SocketEngine.Configuration
- {
-
-
-
- [ConfigurationCollection(typeof(Server), AddItemName = "server")]
- public class ServerCollection : GenericConfigurationElementCollection<Server, IServerConfig>
- {
-
-
-
-
- public void AddNew(Server newServer)
- {
- base.BaseAdd(newServer);
- }
-
-
-
-
- public void Remove(string name)
- {
- base.BaseRemove(name);
- }
- }
- }
|