File: System\Web\Services\Configuration\XmlFormatExtensionPointAttribute.cs
Web Access
Project: src\src\System.Web.Services.Description\src\System.Web.Services.Description.csproj (System.Web.Services.Description)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Web.Services.Configuration
{
    [AttributeUsage(AttributeTargets.Class)]
    public sealed class XmlFormatExtensionPointAttribute : Attribute {
        private string _name;
 
        public XmlFormatExtensionPointAttribute(string memberName) {
            _name = memberName;
        }
 
        public string MemberName {
            get { return _name == null ? string.Empty : _name; }
            set { _name = value; }
        }
 
        public bool AllowElements { get; set; } = true;
    }
}