Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / Serialization / XmlAnyElementAttribute.cs / 1 / XmlAnyElementAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; using System.Xml.Schema; ////// /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple=true)] public class XmlAnyElementAttribute : System.Attribute { string name; string ns; int order = -1; bool nsSpecified = false; ///[To be supplied.] ////// /// public XmlAnyElementAttribute() { } ///[To be supplied.] ////// /// public XmlAnyElementAttribute(string name) { this.name = name; } ///[To be supplied.] ////// /// public XmlAnyElementAttribute(string name, string ns) { this.name = name; this.ns = ns; nsSpecified = true; } ///[To be supplied.] ////// /// public string Name { get { return name == null ? string.Empty : name; } set { name = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; nsSpecified = true; } } ///[To be supplied.] ////// /// public int Order { get { return order; } set { if (value < 0) throw new ArgumentException(Res.GetString(Res.XmlDisallowNegativeValues), "Order"); order = value; } } internal bool NamespaceSpecified { get { return nsSpecified; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //[To be supplied.] ///// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; using System.Xml.Schema; ////// /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple=true)] public class XmlAnyElementAttribute : System.Attribute { string name; string ns; int order = -1; bool nsSpecified = false; ///[To be supplied.] ////// /// public XmlAnyElementAttribute() { } ///[To be supplied.] ////// /// public XmlAnyElementAttribute(string name) { this.name = name; } ///[To be supplied.] ////// /// public XmlAnyElementAttribute(string name, string ns) { this.name = name; this.ns = ns; nsSpecified = true; } ///[To be supplied.] ////// /// public string Name { get { return name == null ? string.Empty : name; } set { name = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; nsSpecified = true; } } ///[To be supplied.] ////// /// public int Order { get { return order; } set { if (value < 0) throw new ArgumentException(Res.GetString(Res.XmlDisallowNegativeValues), "Order"); order = value; } } internal bool NamespaceSpecified { get { return nsSpecified; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ZoomPercentageConverter.cs
- JsonReader.cs
- TokenCreationParameter.cs
- SafeProcessHandle.cs
- DrawingContext.cs
- QEncodedStream.cs
- ExecutionEngineException.cs
- DPCustomTypeDescriptor.cs
- QilTypeChecker.cs
- ResponseStream.cs
- ObjectAssociationEndMapping.cs
- StateWorkerRequest.cs
- Win32SafeHandles.cs
- Math.cs
- DesignerActionVerbItem.cs
- Walker.cs
- AbstractExpressions.cs
- ImageBrush.cs
- DataControlFieldCell.cs
- RegexWriter.cs
- SHA512.cs
- BinaryReader.cs
- RegisteredDisposeScript.cs
- PageEventArgs.cs
- NavigationHelper.cs
- XamlBuildTaskServices.cs
- SoapTypeAttribute.cs
- SynchronizedRandom.cs
- BaseAddressPrefixFilterElementCollection.cs
- StyleXamlParser.cs
- SelectionEditor.cs
- CodeTypeOfExpression.cs
- ScriptResourceInfo.cs
- PropertyGridView.cs
- RTLAwareMessageBox.cs
- RowTypeElement.cs
- BitmapFrameDecode.cs
- HotSpot.cs
- DataListCommandEventArgs.cs
- XhtmlBasicSelectionListAdapter.cs
- ChannelProtectionRequirements.cs
- RemoteWebConfigurationHostStream.cs
- DataGridColumnsPage.cs
- FullTextState.cs
- NavigationPropertyEmitter.cs
- BufferedReceiveManager.cs
- RemoteWebConfigurationHostStream.cs
- UnsafeNativeMethodsPenimc.cs
- Line.cs
- ClassData.cs
- ImmComposition.cs
- DataGridColumnCollection.cs
- FolderBrowserDialog.cs
- EtwTrace.cs
- GcSettings.cs
- XPathQilFactory.cs
- DrawingState.cs
- Condition.cs
- RawStylusActions.cs
- DesignOnlyAttribute.cs
- SchemaSetCompiler.cs
- Propagator.Evaluator.cs
- AbstractExpressions.cs
- SolidColorBrush.cs
- ErrorFormatterPage.cs
- SafeRegistryHandle.cs
- HttpResponseHeader.cs
- Method.cs
- DataServiceQueryProvider.cs
- MessageAction.cs
- ImageField.cs
- RectConverter.cs
- BindToObject.cs
- XmlUtil.cs
- Soap.cs
- StylusDevice.cs
- RequestValidator.cs
- XPathExpr.cs
- LogManagementAsyncResult.cs
- ISAPIWorkerRequest.cs
- WorkflowPrinting.cs
- ReturnType.cs
- printdlgexmarshaler.cs
- XmlSerializer.cs
- SamlAssertionKeyIdentifierClause.cs
- CodeDirectiveCollection.cs
- ContentValidator.cs
- ListViewDeleteEventArgs.cs
- Int64.cs
- CssClassPropertyAttribute.cs
- NaturalLanguageHyphenator.cs
- KnownTypes.cs
- Selection.cs
- TextElementCollection.cs
- WebResponse.cs
- PermissionAttributes.cs
- DomainLiteralReader.cs
- GcSettings.cs
- XmlDataFileEditor.cs
- MouseBinding.cs