Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / ServiceKnownTypeAttribute.cs / 1 / ServiceKnownTypeAttribute.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel { [AttributeUsage(ServiceModelAttributeTargets.ServiceContract | ServiceModelAttributeTargets.OperationContract, Inherited = true, AllowMultiple = true)] public sealed class ServiceKnownTypeAttribute : Attribute { Type declaringType; string methodName; Type type; private ServiceKnownTypeAttribute() { // Disallow default constructor } public ServiceKnownTypeAttribute(Type type) { this.type = type; } public ServiceKnownTypeAttribute(string methodName) { this.methodName = methodName; } public ServiceKnownTypeAttribute(string methodName, Type declaringType) { this.methodName = methodName; this.declaringType = declaringType; } public Type DeclaringType { get { return declaringType; } } public string MethodName { get { return methodName; } } public Type Type { get { return type; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PropertyStore.cs
- webeventbuffer.cs
- SmtpReplyReader.cs
- WMIGenerator.cs
- EnumerableCollectionView.cs
- RtfToken.cs
- KeyFrames.cs
- ConfigurationValidatorAttribute.cs
- FormatterConverter.cs
- CreatingCookieEventArgs.cs
- TraceListeners.cs
- DBSqlParserColumnCollection.cs
- Unit.cs
- TableColumnCollectionInternal.cs
- CurrencyWrapper.cs
- EqualityArray.cs
- JavaScriptObjectDeserializer.cs
- SmiGettersStream.cs
- TextServicesCompartmentEventSink.cs
- HierarchicalDataBoundControlAdapter.cs
- DragDropHelper.cs
- dataprotectionpermission.cs
- EndPoint.cs
- ExceptQueryOperator.cs
- GeneralTransform3DCollection.cs
- ContextQuery.cs
- GeometryDrawing.cs
- IISUnsafeMethods.cs
- PeerFlooder.cs
- ThrowHelper.cs
- ReflectionServiceProvider.cs
- XmlNodeWriter.cs
- SettingsSavedEventArgs.cs
- AuthenticationModuleElement.cs
- WebScriptMetadataFormatter.cs
- SystemFonts.cs
- SmtpNetworkElement.cs
- FastEncoderWindow.cs
- VectorAnimationBase.cs
- PaperSource.cs
- CompressionTransform.cs
- OleDbParameter.cs
- CleanUpVirtualizedItemEventArgs.cs
- FloatUtil.cs
- PagesSection.cs
- UnsafeNativeMethods.cs
- GlyphTypeface.cs
- NotifyCollectionChangedEventArgs.cs
- ErrorTolerantObjectWriter.cs
- TemplateBindingExpressionConverter.cs
- HMACSHA512.cs
- WebServiceClientProxyGenerator.cs
- ClientSideQueueItem.cs
- DataSetUtil.cs
- AutoCompleteStringCollection.cs
- MessageSmuggler.cs
- ClockController.cs
- MTConfigUtil.cs
- SchemaElementDecl.cs
- NotifyParentPropertyAttribute.cs
- CodeDefaultValueExpression.cs
- RequestCacheValidator.cs
- CurrencyWrapper.cs
- DynamicValueConverter.cs
- HtmlTableRowCollection.cs
- PropertyValueChangedEvent.cs
- TypeDelegator.cs
- WebConvert.cs
- XmlDigitalSignatureProcessor.cs
- WpfGeneratedKnownTypes.cs
- DisplayNameAttribute.cs
- Logging.cs
- ArgumentsParser.cs
- ClientApiGenerator.cs
- WebConfigManager.cs
- XmlArrayItemAttribute.cs
- CompoundFileIOPermission.cs
- EventData.cs
- CmsInterop.cs
- SQLSingle.cs
- IntSecurity.cs
- RuleInfoComparer.cs
- ZipPackage.cs
- DbConnectionPoolCounters.cs
- IIS7UserPrincipal.cs
- AxHost.cs
- PrintController.cs
- X509SecurityToken.cs
- SqlExpressionNullability.cs
- ListViewUpdateEventArgs.cs
- GenericWebPart.cs
- Facet.cs
- RoutedUICommand.cs
- SqlCommand.cs
- BindingCollection.cs
- CalendarButton.cs
- OdbcParameter.cs
- EmptyEnumerator.cs
- SqlDataSourceCommandEventArgs.cs
- HtmlEncodedRawTextWriter.cs