1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Configuration;
- namespace SuperSocket.SocketBase.Config
- {
- /// <summary>
- /// Type provider configuration
- /// </summary>
- public class TypeProvider : ConfigurationElement, ITypeProvider
- {
- /// <summary>
- /// Gets the name.
- /// </summary>
- [ConfigurationProperty("name", IsRequired = true)]
- public string Name
- {
- get { return this["name"] as string; }
- }
- /// <summary>
- /// Gets the type.
- /// </summary>
- [ConfigurationProperty("type", IsRequired = true)]
- public string Type
- {
- get { return this["type"] as string; }
- }
- }
- }
|