Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / Serialization / System / Runtime / Serialization / KnownTypeAttribute.cs / 1305376 / KnownTypeAttribute.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.Serialization { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = true, AllowMultiple = true)] public sealed class KnownTypeAttribute : Attribute { string methodName; Type type; private KnownTypeAttribute() { // Disallow default constructor } public KnownTypeAttribute(Type type) { this.type = type; } public KnownTypeAttribute(string methodName) { this.methodName = methodName; } public string MethodName { get { return methodName; } //set { methodName = value; } } public Type Type { get { return type; } //set { type = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.Serialization { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = true, AllowMultiple = true)] public sealed class KnownTypeAttribute : Attribute { string methodName; Type type; private KnownTypeAttribute() { // Disallow default constructor } public KnownTypeAttribute(Type type) { this.type = type; } public KnownTypeAttribute(string methodName) { this.methodName = methodName; } public string MethodName { get { return methodName; } //set { methodName = value; } } public Type Type { get { return type; } //set { type = 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
- Model3D.cs
- BasicHttpMessageSecurity.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ColorMap.cs
- FloaterBaseParaClient.cs
- SqlRewriteScalarSubqueries.cs
- TypeCodeDomSerializer.cs
- InkCanvasSelection.cs
- ConnectionPoolManager.cs
- LinqDataSource.cs
- SoapSchemaMember.cs
- DateTimeHelper.cs
- SqlTopReducer.cs
- DataBindingExpressionBuilder.cs
- CallSiteOps.cs
- WmpBitmapDecoder.cs
- streamingZipPartStream.cs
- DoubleCollection.cs
- DbModificationCommandTree.cs
- ResXBuildProvider.cs
- GridViewItemAutomationPeer.cs
- StorageComplexTypeMapping.cs
- LockingPersistenceProvider.cs
- TextServicesCompartmentEventSink.cs
- InvokeFunc.cs
- Catch.cs
- UnSafeCharBuffer.cs
- SystemParameters.cs
- Codec.cs
- WebPartVerbsEventArgs.cs
- DataTemplateSelector.cs
- FileSecurity.cs
- BaseDataBoundControl.cs
- StateBag.cs
- CacheSection.cs
- Screen.cs
- TypeToArgumentTypeConverter.cs
- TypeGenericEnumerableViewSchema.cs
- PropertyGridDesigner.cs
- PaperSource.cs
- SemanticTag.cs
- SqlRetyper.cs
- InkCanvasSelectionAdorner.cs
- EdmComplexPropertyAttribute.cs
- ColorAnimationBase.cs
- OdbcHandle.cs
- EvidenceBase.cs
- Switch.cs
- TextBlock.cs
- StateMachineExecutionState.cs
- SQLByteStorage.cs
- DocumentViewerBaseAutomationPeer.cs
- CapabilitiesRule.cs
- FontStyles.cs
- GraphicsState.cs
- LookupBindingPropertiesAttribute.cs
- XmlSchemaChoice.cs
- BoundsDrawingContextWalker.cs
- HighlightVisual.cs
- TextEncodedRawTextWriter.cs
- SqlDataReaderSmi.cs
- EntityDataSourceReferenceGroup.cs
- _IPv4Address.cs
- SafeMILHandle.cs
- RuntimeWrappedException.cs
- TokenDescriptor.cs
- SerializerDescriptor.cs
- DataGridLinkButton.cs
- EventLogEntryCollection.cs
- Mapping.cs
- XhtmlTextWriter.cs
- ResourcesBuildProvider.cs
- TraceContextEventArgs.cs
- ProxyWebPartManager.cs
- input.cs
- HttpRuntimeSection.cs
- WebPartPersonalization.cs
- PanelDesigner.cs
- SrgsDocumentParser.cs
- SystemColorTracker.cs
- BrowserDefinitionCollection.cs
- DataBoundLiteralControl.cs
- CodeThrowExceptionStatement.cs
- WebPartZoneBaseDesigner.cs
- InternalTypeHelper.cs
- PhonemeEventArgs.cs
- HttpRequest.cs
- KnownBoxes.cs
- GridItemPattern.cs
- PerfCounters.cs
- PartialArray.cs
- TreePrinter.cs
- HybridWebProxyFinder.cs
- ExpressionBuilderCollection.cs
- QilNode.cs
- UserUseLicenseDictionaryLoader.cs
- Char.cs
- MDIControlStrip.cs
- AddInBase.cs
- InternalTypeHelper.cs