Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Configuration / XmlFormatExtensionAttribute.cs / 1305376 / XmlFormatExtensionAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.Services.Configuration {
using System;
///
///
/// [To be supplied.]
///
[AttributeUsage(AttributeTargets.Class)]
public sealed class XmlFormatExtensionAttribute : Attribute {
Type[] types;
string name;
string ns;
///
///
/// [To be supplied.]
///
public XmlFormatExtensionAttribute() {
}
///
public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1) : this(elementName, ns, new Type[] {extensionPoint1}) {
}
///
public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1, Type extensionPoint2) : this(elementName, ns, new Type[] {extensionPoint1, extensionPoint2}) {
}
///
public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1, Type extensionPoint2, Type extensionPoint3) : this(elementName, ns, new Type[] {extensionPoint1, extensionPoint2, extensionPoint3}) {
}
///
public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1, Type extensionPoint2, Type extensionPoint3, Type extensionPoint4) : this(elementName, ns, new Type[] {extensionPoint1, extensionPoint2, extensionPoint3, extensionPoint4}) {
}
///
///
/// [To be supplied.]
///
public XmlFormatExtensionAttribute(string elementName, string ns, Type[] extensionPoints) {
this.name = elementName;
this.ns = ns;
this.types = extensionPoints;
}
///
///
/// [To be supplied.]
///
public Type[] ExtensionPoints {
get { return types == null ? new Type[0] : types; }
set { types = value; }
}
///
///
/// [To be supplied.]
///
public string Namespace {
get { return ns == null ? string.Empty : ns; }
set { ns = value; }
}
///
///
/// [To be supplied.]
///
public string ElementName {
get { return name == null ? string.Empty : name; }
set { name = value; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpsTransportBindingElement.cs
- NamespaceDecl.cs
- HMACMD5.cs
- StaticResourceExtension.cs
- DescendantQuery.cs
- VisualStyleInformation.cs
- ResetableIterator.cs
- DoubleLinkList.cs
- ListBindableAttribute.cs
- CodeMemberMethod.cs
- UnsafePeerToPeerMethods.cs
- KnownBoxes.cs
- ReliableSessionBindingElement.cs
- SHA1Managed.cs
- XmlSchemaExternal.cs
- RegistrationServices.cs
- Rotation3DKeyFrameCollection.cs
- Stopwatch.cs
- ThrowHelper.cs
- OdbcUtils.cs
- FusionWrap.cs
- PeerDefaultCustomResolverClient.cs
- xsdvalidator.cs
- KeyValueInternalCollection.cs
- PropertySourceInfo.cs
- MailHeaderInfo.cs
- BindableTemplateBuilder.cs
- LocalizableAttribute.cs
- SQLDateTime.cs
- InvalidEnumArgumentException.cs
- GeneralTransform.cs
- HttpHandlersSection.cs
- SqlDataSourceStatusEventArgs.cs
- PatternMatcher.cs
- SafeProcessHandle.cs
- SessionStateModule.cs
- WebResourceAttribute.cs
- SQLInt64Storage.cs
- ProviderException.cs
- ObjectDataSourceChooseTypePanel.cs
- FileDetails.cs
- DbProviderServices.cs
- AppLevelCompilationSectionCache.cs
- TemplatedMailWebEventProvider.cs
- XmlProcessingInstruction.cs
- GcHandle.cs
- PropertyInfo.cs
- input.cs
- SqlAliasesReferenced.cs
- HMACRIPEMD160.cs
- DesignerTransactionCloseEvent.cs
- AspNetCacheProfileAttribute.cs
- MexNamedPipeBindingElement.cs
- SQLInt16.cs
- SqlResolver.cs
- OutputCacheSettingsSection.cs
- EnumType.cs
- serverconfig.cs
- DataServiceRequestOfT.cs
- SimpleWorkerRequest.cs
- NativeObjectSecurity.cs
- HelpInfo.cs
- PermissionAttributes.cs
- BuildManagerHost.cs
- FastEncoder.cs
- ErrorsHelper.cs
- XmlDataContract.cs
- ContentElement.cs
- EnterpriseServicesHelper.cs
- controlskin.cs
- EntitySetDataBindingList.cs
- UInt32Storage.cs
- TypeExtensions.cs
- WebControlParameterProxy.cs
- WindowsBrush.cs
- AutomationProperty.cs
- Funcletizer.cs
- XmlQueryStaticData.cs
- SignatureDescription.cs
- ValidatingPropertiesEventArgs.cs
- HostProtectionException.cs
- DataSet.cs
- MenuItem.cs
- WebServiceErrorEvent.cs
- SrgsRule.cs
- FlowLayout.cs
- CompiledRegexRunner.cs
- SafeFindHandle.cs
- DropDownButton.cs
- XmlDataImplementation.cs
- CompilerTypeWithParams.cs
- SiteMembershipCondition.cs
- CheckedPointers.cs
- WindowPattern.cs
- TiffBitmapEncoder.cs
- PageFunction.cs
- BinaryObjectReader.cs
- MSAAEventDispatcher.cs
- IFormattable.cs
- GiveFeedbackEventArgs.cs