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
- Subtree.cs
- WindowsIdentity.cs
- ValidationVisibilityAttribute.cs
- WindowsListViewGroupHelper.cs
- DashStyle.cs
- SerializableAttribute.cs
- handlecollector.cs
- followingquery.cs
- ServiceProviders.cs
- SmiContextFactory.cs
- InstanceNotReadyException.cs
- SQLSingle.cs
- WeakReferenceKey.cs
- DataGridViewCellParsingEventArgs.cs
- ExtensionFile.cs
- HostAdapter.cs
- TabItemAutomationPeer.cs
- AssemblyCache.cs
- RelativeSource.cs
- XmlAnyElementAttributes.cs
- SQLConvert.cs
- PeerNameRecord.cs
- CharEnumerator.cs
- ButtonChrome.cs
- SyndicationItemFormatter.cs
- DocumentEventArgs.cs
- SmtpDateTime.cs
- TextParagraphCache.cs
- MbpInfo.cs
- RTLAwareMessageBox.cs
- DynamicILGenerator.cs
- XmlSchemaSimpleTypeRestriction.cs
- HttpCookiesSection.cs
- SharedPersonalizationStateInfo.cs
- StringAnimationUsingKeyFrames.cs
- ZipIOExtraFieldElement.cs
- OperationAbortedException.cs
- BinaryCommonClasses.cs
- SID.cs
- OleDbPropertySetGuid.cs
- Int64KeyFrameCollection.cs
- XmlWriterTraceListener.cs
- BitStream.cs
- WebRequestModulesSection.cs
- CodeGenerator.cs
- RuntimeIdentifierPropertyAttribute.cs
- SystemColorTracker.cs
- BigInt.cs
- TextOutput.cs
- DataContext.cs
- CqlParser.cs
- GeometryDrawing.cs
- EndpointAddress10.cs
- IdleTimeoutMonitor.cs
- ValueTable.cs
- RectangleHotSpot.cs
- COM2EnumConverter.cs
- VirtualizingPanel.cs
- NativeMethods.cs
- XmlWrappingReader.cs
- odbcmetadatafactory.cs
- sitestring.cs
- InvalidAsynchronousStateException.cs
- VarRefManager.cs
- BasicHttpSecurityElement.cs
- XomlCompilerParameters.cs
- NamespaceCollection.cs
- SqlAliasesReferenced.cs
- AsyncPostBackErrorEventArgs.cs
- SelectedDatesCollection.cs
- Vector3DCollection.cs
- ComboBoxRenderer.cs
- RecognizeCompletedEventArgs.cs
- PropertyEmitter.cs
- ExtenderControl.cs
- ScalarConstant.cs
- BaseDataBoundControl.cs
- EditorPart.cs
- XmlIlVisitor.cs
- HtmlImageAdapter.cs
- HttpApplication.cs
- MsmqHostedTransportManager.cs
- SecurityTokenResolver.cs
- NullableDecimalMinMaxAggregationOperator.cs
- XmlIterators.cs
- XmlLanguage.cs
- NumberEdit.cs
- SystemResources.cs
- MaskedTextBoxTextEditorDropDown.cs
- BaseDataBoundControl.cs
- DisplayInformation.cs
- UnsafeNativeMethodsMilCoreApi.cs
- DockPattern.cs
- StorageEntityContainerMapping.cs
- WebPartDisplayModeEventArgs.cs
- Imaging.cs
- FolderBrowserDialog.cs
- DataGridViewCellFormattingEventArgs.cs
- Transform.cs
- UseLicense.cs