Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlTypeAttribute.cs / 1305376 / XmlTypeAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; ////// /// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)] public class XmlTypeAttribute : System.Attribute { bool includeInSchema = true; bool anonymousType; string ns; string typeName; ///[To be supplied.] ////// /// public XmlTypeAttribute() { } ///[To be supplied.] ////// /// public XmlTypeAttribute(string typeName) { this.typeName = typeName; } ///[To be supplied.] ////// /// public bool AnonymousType { get { return anonymousType; } set { anonymousType = value; } } ///[To be supplied.] ////// /// public bool IncludeInSchema { get { return includeInSchema; } set { includeInSchema = value; } } ///[To be supplied.] ////// /// public string TypeName { get { return typeName == null ? string.Empty : typeName; } set { typeName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } } } // 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; ////// /// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)] public class XmlTypeAttribute : System.Attribute { bool includeInSchema = true; bool anonymousType; string ns; string typeName; ///[To be supplied.] ////// /// public XmlTypeAttribute() { } ///[To be supplied.] ////// /// public XmlTypeAttribute(string typeName) { this.typeName = typeName; } ///[To be supplied.] ////// /// public bool AnonymousType { get { return anonymousType; } set { anonymousType = value; } } ///[To be supplied.] ////// /// public bool IncludeInSchema { get { return includeInSchema; } set { includeInSchema = value; } } ///[To be supplied.] ////// /// public string TypeName { get { return typeName == null ? string.Empty : typeName; } set { typeName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } } } // 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
- SimpleRecyclingCache.cs
- DataObjectFieldAttribute.cs
- Mappings.cs
- CodeDirectionExpression.cs
- GraphicsPathIterator.cs
- ReaderWriterLockWrapper.cs
- UpdatePanel.cs
- ReaderContextStackData.cs
- ArcSegment.cs
- Label.cs
- SchemaElementLookUpTable.cs
- FocusChangedEventArgs.cs
- _DisconnectOverlappedAsyncResult.cs
- SimpleMailWebEventProvider.cs
- FastEncoderWindow.cs
- MatrixKeyFrameCollection.cs
- QuaternionKeyFrameCollection.cs
- SoapSchemaMember.cs
- GregorianCalendar.cs
- Rect.cs
- MachineKeyValidationConverter.cs
- LogStream.cs
- DataSourceControlBuilder.cs
- SafeRegistryHandle.cs
- ContextConfiguration.cs
- CheckBox.cs
- DBNull.cs
- BinHexDecoder.cs
- ScopelessEnumAttribute.cs
- lengthconverter.cs
- SymmetricKeyWrap.cs
- XmlQualifiedName.cs
- OperatorExpressions.cs
- VBCodeProvider.cs
- ProfileGroupSettings.cs
- WindowVisualStateTracker.cs
- ChangeConflicts.cs
- ViewManager.cs
- SmtpDigestAuthenticationModule.cs
- DescriptionAttribute.cs
- EnterpriseServicesHelper.cs
- RegularExpressionValidator.cs
- SchemaInfo.cs
- _CacheStreams.cs
- JsonWriterDelegator.cs
- ParallelActivityDesigner.cs
- ButtonFieldBase.cs
- GacUtil.cs
- PerformanceCounterManager.cs
- StringBuilder.cs
- Debug.cs
- RangeValidator.cs
- CompiledQueryCacheKey.cs
- SecurityElement.cs
- SpotLight.cs
- XamlSerializerUtil.cs
- SqlNotificationRequest.cs
- SafeHandles.cs
- Environment.cs
- CompilerScope.cs
- GridViewUpdateEventArgs.cs
- TextSelectionHelper.cs
- Registry.cs
- ellipse.cs
- RegexCompilationInfo.cs
- SystemDiagnosticsSection.cs
- MsmqSecureHashAlgorithm.cs
- BooleanStorage.cs
- DataGridViewCellStyleChangedEventArgs.cs
- PageAsyncTaskManager.cs
- EncodingTable.cs
- SessionIDManager.cs
- ServiceReference.cs
- LineMetrics.cs
- XmlReader.cs
- Gdiplus.cs
- GPPOINT.cs
- TcpTransportSecurity.cs
- CheckBoxList.cs
- StreamGeometry.cs
- PropertyTab.cs
- TypeEnumerableViewSchema.cs
- DataContractSerializer.cs
- DropDownList.cs
- PaintEvent.cs
- PageClientProxyGenerator.cs
- WorkflowMessageEventHandler.cs
- SymLanguageVendor.cs
- AvTrace.cs
- XamlFilter.cs
- ComponentDispatcher.cs
- ParserContext.cs
- Int64AnimationBase.cs
- SqlSelectStatement.cs
- MergeFailedEvent.cs
- UTF7Encoding.cs
- GACMembershipCondition.cs
- PageHandlerFactory.cs
- GuidelineCollection.cs
- DataControlFieldCollection.cs