Mercurial > pub > bltoolkit
view Demo/WebServices/Server/WebServices/GenerateWebServiceAttribute.cs @ 0:f990fcb411a9
Копия текущей версии из github
author | cin |
---|---|
date | Thu, 27 Mar 2014 21:46:09 +0400 |
parents | |
children |
line wrap: on
line source
using System; using BLToolkit.TypeBuilder; using System.Web.Services; namespace Demo.WebServices.Server.WebServices { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)] public class GenerateWebServiceAttribute : GenerateAttributeAttribute { /// <summary> /// Initializes a new instance of the <see cref="GenerateWebServiceAttribute"/> class. /// </summary> /// <param name="namespace">The namespace of the web service.</param> public GenerateWebServiceAttribute(string @namespace): base(typeof(WebServiceAttribute)) { this["Namespace"] = @namespace; } } }