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
- SQlBooleanStorage.cs
- MexHttpBindingElement.cs
- SettingsSection.cs
- HashHelper.cs
- RelatedView.cs
- SafeCryptoHandles.cs
- _Semaphore.cs
- ProvidersHelper.cs
- CachedPathData.cs
- EmptyStringExpandableObjectConverter.cs
- ReferenceEqualityComparer.cs
- HttpRuntimeSection.cs
- RegistryExceptionHelper.cs
- XmlReflectionMember.cs
- HttpBrowserCapabilitiesWrapper.cs
- ByteStorage.cs
- Oid.cs
- SqlMethodCallConverter.cs
- Duration.cs
- HttpCacheVary.cs
- TextContainer.cs
- RecognizedPhrase.cs
- FlowDocument.cs
- ColumnWidthChangingEvent.cs
- SqlFactory.cs
- JavaScriptObjectDeserializer.cs
- ObjectTypeMapping.cs
- WebPartCollection.cs
- EventRoute.cs
- X509Utils.cs
- StrokeRenderer.cs
- XmlSchemaRedefine.cs
- SqlRowUpdatedEvent.cs
- HttpRequestCacheValidator.cs
- TrackingServices.cs
- EventMappingSettingsCollection.cs
- Collection.cs
- UnSafeCharBuffer.cs
- IPPacketInformation.cs
- TypeConverters.cs
- PinnedBufferMemoryStream.cs
- ExpressionBuilder.cs
- JumpList.cs
- TypeDescriptor.cs
- ThrowOnMultipleAssignment.cs
- TargetInvocationException.cs
- AssociatedControlConverter.cs
- DesignerDataTable.cs
- SmtpSection.cs
- AttributeEmitter.cs
- BaseTemplateParser.cs
- SelectorAutomationPeer.cs
- GiveFeedbackEventArgs.cs
- TabItemWrapperAutomationPeer.cs
- XmlRootAttribute.cs
- StrongNameMembershipCondition.cs
- IncrementalHitTester.cs
- ParserHooks.cs
- DescendantBaseQuery.cs
- RtfToken.cs
- EntitySetDataBindingList.cs
- ProcessManager.cs
- returneventsaver.cs
- TrustDriver.cs
- ActivationServices.cs
- StrongNameKeyPair.cs
- AccessedThroughPropertyAttribute.cs
- prompt.cs
- HashHelper.cs
- ZipIOCentralDirectoryFileHeader.cs
- WindowsPen.cs
- ComponentDispatcherThread.cs
- FlagsAttribute.cs
- RegexGroupCollection.cs
- SafeViewOfFileHandle.cs
- Subtree.cs
- ConvertEvent.cs
- OSFeature.cs
- XamlTreeBuilderBamlRecordWriter.cs
- TypeDescriptor.cs
- DocumentPageHost.cs
- Translator.cs
- MetadataUtilsSmi.cs
- Attribute.cs
- securitymgrsite.cs
- BooleanAnimationBase.cs
- _Win32.cs
- MouseDevice.cs
- HotCommands.cs
- storepermission.cs
- XmlKeywords.cs
- SafeRightsManagementHandle.cs
- OledbConnectionStringbuilder.cs
- Point.cs
- PointValueSerializer.cs
- FilteredReadOnlyMetadataCollection.cs
- ActivityBindForm.Designer.cs
- KeyGesture.cs
- ExclusiveTcpTransportManager.cs
- Util.cs