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
- GZipUtils.cs
- Route.cs
- HttpRequest.cs
- TreeViewCancelEvent.cs
- ZipIOLocalFileHeader.cs
- XsdDateTime.cs
- WebPartCatalogAddVerb.cs
- CodeEntryPointMethod.cs
- ISO2022Encoding.cs
- DataGridViewRowPrePaintEventArgs.cs
- MethodCallTranslator.cs
- Rotation3DAnimationBase.cs
- MappingModelBuildProvider.cs
- CompiledRegexRunner.cs
- SecurityContextSecurityTokenParameters.cs
- PipelineDeploymentState.cs
- UseLicense.cs
- DateTimeSerializationSection.cs
- DesignBindingEditor.cs
- PopupRoot.cs
- DodSequenceMerge.cs
- TemplateBindingExtension.cs
- IndependentAnimationStorage.cs
- PropertyEntry.cs
- ServerValidateEventArgs.cs
- HttpPostProtocolImporter.cs
- SendReply.cs
- CommandLineParser.cs
- ScopedKnownTypes.cs
- MTConfigUtil.cs
- FilterElement.cs
- TokenBasedSet.cs
- VisualStyleInformation.cs
- ExternalDataExchangeClient.cs
- EventRecord.cs
- SHA1Cng.cs
- Form.cs
- TableAutomationPeer.cs
- RowSpanVector.cs
- UncommonField.cs
- AlternateView.cs
- BrowserInteropHelper.cs
- MatrixValueSerializer.cs
- NonBatchDirectoryCompiler.cs
- AsyncOperationManager.cs
- SaveRecipientRequest.cs
- DataGridViewRowPostPaintEventArgs.cs
- SimpleHandlerFactory.cs
- XmlSchemaSet.cs
- DataSourceSelectArguments.cs
- SafeNativeMethods.cs
- BinaryObjectReader.cs
- PageContent.cs
- hwndwrapper.cs
- HtmlValidationSummaryAdapter.cs
- WebPartCatalogAddVerb.cs
- XmlDeclaration.cs
- ExpressionNormalizer.cs
- HostProtectionException.cs
- VectorConverter.cs
- Formatter.cs
- XmlArrayItemAttribute.cs
- SuppressIldasmAttribute.cs
- PropertyEmitter.cs
- ResourceExpressionBuilder.cs
- SymmetricKeyWrap.cs
- ChangeBlockUndoRecord.cs
- Int32RectConverter.cs
- MultipleViewProviderWrapper.cs
- PrintDocument.cs
- M3DUtil.cs
- FileReservationCollection.cs
- LinqDataSourceDeleteEventArgs.cs
- ValueSerializerAttribute.cs
- SrgsElementFactory.cs
- WebPartMenuStyle.cs
- SelectionRange.cs
- ToolStripGripRenderEventArgs.cs
- ExceptQueryOperator.cs
- EventlogProvider.cs
- NullRuntimeConfig.cs
- RuntimeWrappedException.cs
- StreamGeometry.cs
- FixedSOMElement.cs
- KeyTime.cs
- Utils.cs
- DelegateSerializationHolder.cs
- DataGridViewSelectedCellCollection.cs
- FloaterBaseParaClient.cs
- EntityDesignerBuildProvider.cs
- ErrorHandlerModule.cs
- LogicalExpr.cs
- BitmapVisualManager.cs
- RewritingSimplifier.cs
- QueryOutputWriter.cs
- UserInitiatedNavigationPermission.cs
- PropertyDescriptorGridEntry.cs
- SerialErrors.cs
- CounterCreationDataCollection.cs
- NativeMethodsOther.cs