Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Xml / System / Xml / Serialization / XmlTypeAttribute.cs / 1 / 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
- TrackingParameters.cs
- GeneralTransform2DTo3D.cs
- EncoderBestFitFallback.cs
- FlowDocumentScrollViewer.cs
- CachedBitmap.cs
- CheckPair.cs
- DataGridViewComboBoxCell.cs
- FileChangeNotifier.cs
- NumberFormatter.cs
- DataSourceCacheDurationConverter.cs
- MiniAssembly.cs
- DataBoundControlDesigner.cs
- FormatterServices.cs
- XmlSchemaValidationException.cs
- NumericPagerField.cs
- EntityCommandDefinition.cs
- Random.cs
- AnimatedTypeHelpers.cs
- RuntimeIdentifierPropertyAttribute.cs
- ButtonRenderer.cs
- CommentEmitter.cs
- EnumerableRowCollectionExtensions.cs
- NodeLabelEditEvent.cs
- SamlConditions.cs
- ByteStorage.cs
- LinkTarget.cs
- DataTable.cs
- SqlInternalConnectionTds.cs
- FactoryGenerator.cs
- Classification.cs
- IOThreadScheduler.cs
- Dynamic.cs
- AnnotationResourceChangedEventArgs.cs
- MenuStrip.cs
- SQLGuidStorage.cs
- Typography.cs
- PackageRelationship.cs
- SqlNodeAnnotation.cs
- DebugControllerThread.cs
- IItemProperties.cs
- HasRunnableWorkflowEvent.cs
- DesignerVerbCollection.cs
- ReflectionPermission.cs
- DllNotFoundException.cs
- XmlILIndex.cs
- GenericPrincipal.cs
- DrawingVisualDrawingContext.cs
- ProxyHelper.cs
- Console.cs
- TypedTableGenerator.cs
- UnicastIPAddressInformationCollection.cs
- EventLog.cs
- HandleExceptionArgs.cs
- CodeGenerator.cs
- HScrollBar.cs
- ProviderBase.cs
- AnimationStorage.cs
- BinaryObjectInfo.cs
- WindowsGraphicsCacheManager.cs
- BeginStoryboard.cs
- PathSegment.cs
- PointAnimation.cs
- XmlSchemaRedefine.cs
- ControlPropertyNameConverter.cs
- XmlSchemaAnyAttribute.cs
- HtmlTableCell.cs
- GridPattern.cs
- LocalFileSettingsProvider.cs
- ConnectionPoint.cs
- SafeRightsManagementHandle.cs
- GradientSpreadMethodValidation.cs
- SqlDataSourceEnumerator.cs
- VisualStyleRenderer.cs
- CatalogZone.cs
- _ListenerAsyncResult.cs
- __FastResourceComparer.cs
- PointAnimationBase.cs
- XsdBuilder.cs
- SqlConnectionPoolGroupProviderInfo.cs
- SynchronousReceiveElement.cs
- OperationCanceledException.cs
- SortedDictionary.cs
- DataGridViewTopLeftHeaderCell.cs
- XmlWriterDelegator.cs
- TrackingWorkflowEventArgs.cs
- ToggleProviderWrapper.cs
- SamlEvidence.cs
- LoginDesignerUtil.cs
- TextElementEditingBehaviorAttribute.cs
- XmlWrappingReader.cs
- HeaderElement.cs
- Script.cs
- HtmlAnchor.cs
- FreezableOperations.cs
- PackageRelationshipCollection.cs
- QilParameter.cs
- DynamicILGenerator.cs
- WebPartTransformer.cs
- OdbcErrorCollection.cs
- ControlBuilder.cs