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
- XmlSchemaInfo.cs
- DesignerSerializationVisibilityAttribute.cs
- safesecurityhelperavalon.cs
- HttpStreamMessage.cs
- DesignerHelpers.cs
- SafeCertificateContext.cs
- SplitterPanel.cs
- X509SubjectKeyIdentifierClause.cs
- DataError.cs
- SamlEvidence.cs
- Wizard.cs
- IsolationInterop.cs
- OracleParameterBinding.cs
- OperandQuery.cs
- Propagator.Evaluator.cs
- BooleanAnimationUsingKeyFrames.cs
- DiagnosticTraceSource.cs
- RegisteredDisposeScript.cs
- SessionState.cs
- RotationValidation.cs
- PositiveTimeSpanValidator.cs
- Line.cs
- XmlReader.cs
- UnaryExpression.cs
- UserUseLicenseDictionaryLoader.cs
- XamlTypeMapper.cs
- DelayedRegex.cs
- BaseDataBoundControl.cs
- LinqMaximalSubtreeNominator.cs
- OpenTypeLayout.cs
- WindowsEditBox.cs
- QueryStringParameter.cs
- NativeWrapper.cs
- PropertyMapper.cs
- OleDbStruct.cs
- SqlVersion.cs
- XmlBinaryReader.cs
- ContentElementAutomationPeer.cs
- Composition.cs
- ViewStateModeByIdAttribute.cs
- TargetFrameworkUtil.cs
- ContentType.cs
- DataObjectSettingDataEventArgs.cs
- WindowsComboBox.cs
- Package.cs
- Profiler.cs
- followingsibling.cs
- ProfileElement.cs
- CommentEmitter.cs
- Double.cs
- Matrix3DStack.cs
- UnmanagedMarshal.cs
- BaseResourcesBuildProvider.cs
- UpdateCompiler.cs
- ActivityDesignerAccessibleObject.cs
- TextTreeDeleteContentUndoUnit.cs
- FileDataSourceCache.cs
- BaseParagraph.cs
- ToolStripComboBox.cs
- TemplateKeyConverter.cs
- DragEventArgs.cs
- ResetableIterator.cs
- WebPartVerbsEventArgs.cs
- Path.cs
- WSHttpBindingCollectionElement.cs
- InputReport.cs
- SkipStoryboardToFill.cs
- MemberCollection.cs
- AutoGeneratedFieldProperties.cs
- IPEndPointCollection.cs
- SetterBase.cs
- TemplateBaseAction.cs
- StrongNameUtility.cs
- ActiveDocumentEvent.cs
- DesignerTransactionCloseEvent.cs
- ControlAdapter.cs
- TemplateBuilder.cs
- UpdateCommand.cs
- ObjectStateEntry.cs
- WorkflowMarkupSerializer.cs
- UmAlQuraCalendar.cs
- Token.cs
- DependencyObjectPropertyDescriptor.cs
- XpsS0ValidatingLoader.cs
- Point3DIndependentAnimationStorage.cs
- DrawingGroupDrawingContext.cs
- ToolStripDropTargetManager.cs
- RootProfilePropertySettingsCollection.cs
- GenericPrincipal.cs
- SplashScreenNativeMethods.cs
- x509utils.cs
- FlowLayout.cs
- NetworkInformationPermission.cs
- designeractionlistschangedeventargs.cs
- AlphaSortedEnumConverter.cs
- ContentControl.cs
- AddInActivator.cs
- HwndSourceParameters.cs
- PerspectiveCamera.cs
- CommandField.cs