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
- Helpers.cs
- DocumentAutomationPeer.cs
- ValueTable.cs
- BaseHashHelper.cs
- WindowHideOrCloseTracker.cs
- PersistenceTypeAttribute.cs
- DataGridViewComboBoxCell.cs
- FloaterParaClient.cs
- ProgressBarBrushConverter.cs
- DragDrop.cs
- coordinator.cs
- PreloadedPackages.cs
- TransactedReceiveData.cs
- TypedColumnHandler.cs
- GlobalizationSection.cs
- ExternalException.cs
- HashMembershipCondition.cs
- HttpApplicationFactory.cs
- UnsafeNativeMethods.cs
- SqlCaseSimplifier.cs
- StrokeCollection.cs
- _SafeNetHandles.cs
- RepeaterItemCollection.cs
- SchemaMerger.cs
- CheckBox.cs
- Vector.cs
- SafeProcessHandle.cs
- ProxyElement.cs
- HttpCookie.cs
- ImageAutomationPeer.cs
- EntityDataSourceReferenceGroup.cs
- _HeaderInfoTable.cs
- EventSourceCreationData.cs
- CompilerResults.cs
- Popup.cs
- DeviceOverridableAttribute.cs
- UserCancellationException.cs
- CompilerParameters.cs
- InvalidateEvent.cs
- httpstaticobjectscollection.cs
- DetailsViewPageEventArgs.cs
- FontWeights.cs
- ObjectDataSourceStatusEventArgs.cs
- GridItemProviderWrapper.cs
- BitmapEffectInput.cs
- TextMetrics.cs
- ResourceDisplayNameAttribute.cs
- HandlerMappingMemo.cs
- ScaleTransform3D.cs
- CacheMode.cs
- SpellerError.cs
- ComplusEndpointConfigContainer.cs
- AsyncInvokeContext.cs
- Label.cs
- WbmpConverter.cs
- JoinGraph.cs
- SqlServices.cs
- ArcSegment.cs
- Property.cs
- FillErrorEventArgs.cs
- EventRouteFactory.cs
- EntityDataSource.cs
- TextPointer.cs
- XmlWrappingReader.cs
- InlineCollection.cs
- ViewStateException.cs
- ExpressionLink.cs
- BufferAllocator.cs
- CodeGenerator.cs
- controlskin.cs
- dataobject.cs
- XmlCharType.cs
- BinaryUtilClasses.cs
- Boolean.cs
- ToggleButtonAutomationPeer.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- GenericEnumerator.cs
- InvalidPropValue.cs
- ChangePasswordAutoFormat.cs
- SystemSounds.cs
- FileLogRecordHeader.cs
- ImageFormatConverter.cs
- StorageConditionPropertyMapping.cs
- TablePattern.cs
- ContentTextAutomationPeer.cs
- DebugView.cs
- ExpressionList.cs
- WebPartExportVerb.cs
- Vector3DConverter.cs
- CompilerCollection.cs
- CompositionAdorner.cs
- RangeValidator.cs
- XmlCharType.cs
- ValidationError.cs
- PhysicalFontFamily.cs
- ResourceDescriptionAttribute.cs
- DataGridColumnCollection.cs
- FieldAccessException.cs
- HttpWriter.cs
- DefaultValueMapping.cs