Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BrushConverter.cs
- KnowledgeBase.cs
- NonSerializedAttribute.cs
- DataGridTextBox.cs
- UInt64Converter.cs
- XmlEventCache.cs
- WebPartCloseVerb.cs
- StringValidatorAttribute.cs
- ConnectionPoint.cs
- DataControlFieldCell.cs
- HighContrastHelper.cs
- CompatibleIComparer.cs
- WindowsFormsSectionHandler.cs
- ResponseStream.cs
- UserControlCodeDomTreeGenerator.cs
- MetafileHeader.cs
- CompilerInfo.cs
- StorageInfo.cs
- SortDescriptionCollection.cs
- WhitespaceRuleReader.cs
- FileRecordSequenceCompletedAsyncResult.cs
- WsatServiceAddress.cs
- UTF32Encoding.cs
- CodeDOMUtility.cs
- CorePropertiesFilter.cs
- ServiceTimeoutsElement.cs
- WinFormsSecurity.cs
- SafeRegistryHandle.cs
- SqlCaseSimplifier.cs
- TextEffect.cs
- CodeSubDirectory.cs
- Bits.cs
- ExceptionUtil.cs
- SiteMap.cs
- PositiveTimeSpanValidator.cs
- ExpressionLexer.cs
- TreeNodeConverter.cs
- ErrorFormatter.cs
- ApplicationServiceManager.cs
- NestPullup.cs
- ServiceReference.cs
- PageRequestManager.cs
- SelectedGridItemChangedEvent.cs
- SqlErrorCollection.cs
- InkPresenter.cs
- Point4DConverter.cs
- Html32TextWriter.cs
- AppLevelCompilationSectionCache.cs
- MessagePartDescriptionCollection.cs
- StateManagedCollection.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SegmentInfo.cs
- LateBoundChannelParameterCollection.cs
- HMACSHA384.cs
- ProvidersHelper.cs
- ListViewCommandEventArgs.cs
- WindowsAuthenticationModule.cs
- SystemResources.cs
- ResourcesChangeInfo.cs
- DebuggerAttributes.cs
- RawContentTypeMapper.cs
- XPathAncestorQuery.cs
- ViewBase.cs
- Matrix3D.cs
- COMException.cs
- SerializationEventsCache.cs
- SafeLocalMemHandle.cs
- PriorityQueue.cs
- OperationAbortedException.cs
- GridErrorDlg.cs
- IItemProperties.cs
- Authorization.cs
- MenuItemBindingCollection.cs
- FixedSOMElement.cs
- EntityDataSourceWizardForm.cs
- EventLogEntry.cs
- TargetException.cs
- QuaternionRotation3D.cs
- Slider.cs
- InfoCardProofToken.cs
- GenericXmlSecurityTokenAuthenticator.cs
- OracleConnection.cs
- FormView.cs
- TaskCanceledException.cs
- BevelBitmapEffect.cs
- UiaCoreApi.cs
- NetworkAddressChange.cs
- Latin1Encoding.cs
- AdPostCacheSubstitution.cs
- CmsUtils.cs
- MessageDescriptionCollection.cs
- ListChangedEventArgs.cs
- SymDocumentType.cs
- InputElement.cs
- AncillaryOps.cs
- ProcessManager.cs
- NamespaceList.cs
- TreeBuilder.cs
- TextEditorParagraphs.cs
- EventLogPermissionAttribute.cs