Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / Serialization / System / Runtime / Serialization / KnownTypeAttribute.cs / 1 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TableRowGroup.cs
- SByte.cs
- MsmqIntegrationOutputChannel.cs
- CacheRequest.cs
- StatusBarPanel.cs
- SamlAuthorizationDecisionClaimResource.cs
- HttpHandlerActionCollection.cs
- ClientData.cs
- RightsManagementInformation.cs
- CheckedListBox.cs
- ObjectAssociationEndMapping.cs
- SmtpClient.cs
- Walker.cs
- PublishLicense.cs
- ToolStripSystemRenderer.cs
- ToolBarDesigner.cs
- CodeTypeMemberCollection.cs
- MethodBody.cs
- SqlDataSourceFilteringEventArgs.cs
- Propagator.JoinPropagator.cs
- BitmapEffectrendercontext.cs
- StretchValidation.cs
- OleDbTransaction.cs
- DocumentViewerBaseAutomationPeer.cs
- UpdateCommand.cs
- PropertyBuilder.cs
- CompositeTypefaceMetrics.cs
- BrowserCapabilitiesFactory.cs
- Menu.cs
- DataSetFieldSchema.cs
- Operand.cs
- Win32SafeHandles.cs
- AppDomainProtocolHandler.cs
- CompositeScriptReference.cs
- TextParagraphView.cs
- Win32PrintDialog.cs
- RNGCryptoServiceProvider.cs
- HtmlInputHidden.cs
- CorrelationManager.cs
- QilPatternVisitor.cs
- XmlSchemaComplexType.cs
- SkewTransform.cs
- Context.cs
- MoveSizeWinEventHandler.cs
- webeventbuffer.cs
- HtmlInputCheckBox.cs
- IntellisenseTextBox.cs
- CodeAttributeDeclarationCollection.cs
- TabletDevice.cs
- ArithmeticException.cs
- RemotingSurrogateSelector.cs
- XmlNamespaceMapping.cs
- CapabilitiesState.cs
- XXXInfos.cs
- DataGridViewSelectedCellCollection.cs
- OverflowException.cs
- LinkLabelLinkClickedEvent.cs
- QuaternionAnimation.cs
- DataServiceProviderMethods.cs
- ConnectionPointConverter.cs
- ObjectSet.cs
- SystemDiagnosticsSection.cs
- DataObjectPastingEventArgs.cs
- bindurihelper.cs
- FullTextLine.cs
- IImplicitResourceProvider.cs
- FileFormatException.cs
- XmlReader.cs
- SqlCachedBuffer.cs
- GiveFeedbackEvent.cs
- X509Utils.cs
- UICuesEvent.cs
- counter.cs
- ReliableChannelListener.cs
- SkinBuilder.cs
- URLString.cs
- XmlSchemaSimpleTypeList.cs
- OleDbWrapper.cs
- WorkflowDesignerColors.cs
- XmlMapping.cs
- AncestorChangedEventArgs.cs
- CodeThrowExceptionStatement.cs
- ECDiffieHellmanPublicKey.cs
- NullToBooleanConverter.cs
- Clause.cs
- Brushes.cs
- HitTestResult.cs
- SurrogateEncoder.cs
- EdgeModeValidation.cs
- SocketManager.cs
- TreeNodeBindingDepthConverter.cs
- FixedSOMFixedBlock.cs
- Connector.cs
- PasswordBox.cs
- MobileControlDesigner.cs
- PropertyBuilder.cs
- FrameworkContentElement.cs
- ErrorRuntimeConfig.cs
- _HTTPDateParse.cs
- DoubleAnimationUsingPath.cs