Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / ComMethodElement.cs / 1 / ComMethodElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Globalization; using System.Xml; public sealed partial class ComMethodElement : ConfigurationElement { public ComMethodElement () : base () { } public ComMethodElement(string method) : this () { this.ExposedMethod = method; } [ConfigurationProperty(ConfigurationStrings.ExposedMethod, Options = ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired)] [StringValidator(MinLength = 1)] public string ExposedMethod { get { return (string)base[ConfigurationStrings.ExposedMethod]; } set { if (String.IsNullOrEmpty(value)) { value = String.Empty; } base[ConfigurationStrings.ExposedMethod] = value; } } } } // 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
- TransformProviderWrapper.cs
- TreeWalkHelper.cs
- ValidateNames.cs
- NameTable.cs
- PresentationSource.cs
- SaveFileDialogDesigner.cs
- CoreSwitches.cs
- EventLogQuery.cs
- AppLevelCompilationSectionCache.cs
- UriTemplateLiteralPathSegment.cs
- NodeFunctions.cs
- MemberInfoSerializationHolder.cs
- SiteMapNodeItem.cs
- Subtree.cs
- NestedContainer.cs
- CodeIdentifier.cs
- AsnEncodedData.cs
- AmbientEnvironment.cs
- StorageEntityContainerMapping.cs
- SecurityUtils.cs
- ResourceContainer.cs
- SqlDeflator.cs
- DependencyPropertyChangedEventArgs.cs
- MenuCommandService.cs
- ModifiableIteratorCollection.cs
- VisualStateGroup.cs
- Int32RectConverter.cs
- DiagnosticsElement.cs
- safePerfProviderHandle.cs
- DbReferenceCollection.cs
- FindRequestContext.cs
- sortedlist.cs
- Attributes.cs
- ErrorWebPart.cs
- Point3DValueSerializer.cs
- XPathDocumentIterator.cs
- SourceFileInfo.cs
- XmlAttribute.cs
- XmlConvert.cs
- MediaPlayerState.cs
- SemaphoreFullException.cs
- SessionStateContainer.cs
- SystemWebCachingSectionGroup.cs
- Automation.cs
- SamlAttributeStatement.cs
- DataGridToolTip.cs
- XamlBuildProvider.cs
- TemplateKey.cs
- BaseCodePageEncoding.cs
- sqlinternaltransaction.cs
- ContentFilePart.cs
- WhiteSpaceTrimStringConverter.cs
- TextInfo.cs
- TextBoxRenderer.cs
- SafeNativeMethods.cs
- ResourcesGenerator.cs
- WmiInstallComponent.cs
- X509CertificateValidationMode.cs
- WebReferencesBuildProvider.cs
- SqlLiftIndependentRowExpressions.cs
- ReferencedAssembly.cs
- PropertyOverridesDialog.cs
- XmlJsonReader.cs
- ParseChildrenAsPropertiesAttribute.cs
- ParentControlDesigner.cs
- BoundingRectTracker.cs
- Ray3DHitTestResult.cs
- AuthenticationModulesSection.cs
- TextSpanModifier.cs
- BrowserCapabilitiesFactoryBase.cs
- ContainerActivationHelper.cs
- ProcessInfo.cs
- RedistVersionInfo.cs
- SubpageParaClient.cs
- PcmConverter.cs
- SelectionWordBreaker.cs
- ApplicationCommands.cs
- EntityCommand.cs
- OdbcUtils.cs
- BindToObject.cs
- CompilerState.cs
- PropertyConverter.cs
- MouseWheelEventArgs.cs
- HtmlImage.cs
- CreateParams.cs
- DbParameterCollection.cs
- DbMetaDataCollectionNames.cs
- WebPartConnectionsEventArgs.cs
- ToolStripItemDesigner.cs
- NativeMsmqMessage.cs
- Win32Exception.cs
- DetailsViewRowCollection.cs
- MimeFormReflector.cs
- IsolatedStorageFilePermission.cs
- CodeCatchClause.cs
- DataGridViewElement.cs
- PassportAuthenticationEventArgs.cs
- OletxTransactionManager.cs
- CodeCommentStatementCollection.cs
- HttpPostedFile.cs