Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / WsdlImporterElement.cs / 1 / WsdlImporterElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.Configuration; using System.ServiceModel.Description; public sealed partial class WsdlImporterElement : ConfigurationElement { public WsdlImporterElement() { } public WsdlImporterElement(string type) { this.Type = type; } public WsdlImporterElement(Type type) { SubclassTypeValidator validator = new SubclassTypeValidator(typeof(IWsdlImportExtension)); validator.Validate(type); this.Type = type.AssemblyQualifiedName; } [ConfigurationProperty(ConfigurationStrings.Type, Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)] [StringValidator(MinLength = 1)] public string Type { get { return (string)base[ConfigurationStrings.Type]; } set { if (String.IsNullOrEmpty(value)) { value = String.Empty; } base[ConfigurationStrings.Type] = 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
- SortableBindingList.cs
- NetworkInformationPermission.cs
- SafeMILHandle.cs
- GridPatternIdentifiers.cs
- ImageKeyConverter.cs
- Types.cs
- XmlILStorageConverter.cs
- MouseCaptureWithinProperty.cs
- Schema.cs
- ToolZone.cs
- AvTrace.cs
- SoapObjectReader.cs
- ToolStripPanel.cs
- DbDataReader.cs
- XmlTypeMapping.cs
- ValidationVisibilityAttribute.cs
- BooleanSwitch.cs
- SqlUdtInfo.cs
- Certificate.cs
- TreeNodeEventArgs.cs
- AttachmentCollection.cs
- DeviceContext2.cs
- TrackingConditionCollection.cs
- SignatureHelper.cs
- userdatakeys.cs
- PtsContext.cs
- OrderedHashRepartitionStream.cs
- ReverseInheritProperty.cs
- ContextBase.cs
- ErrorFormatterPage.cs
- Inflater.cs
- UnknownBitmapEncoder.cs
- GeometryDrawing.cs
- ConstraintCollection.cs
- PartialCachingAttribute.cs
- StylusPointProperty.cs
- FlowDocumentReaderAutomationPeer.cs
- DataPointer.cs
- WeakReferenceEnumerator.cs
- FrameworkElementFactory.cs
- SelectionRangeConverter.cs
- TreeNodeEventArgs.cs
- TextSelectionHighlightLayer.cs
- HttpClientCertificate.cs
- DialogResultConverter.cs
- HttpCookie.cs
- ResourceCollectionInfo.cs
- RemotingException.cs
- AttributeTableBuilder.cs
- SQLInt64.cs
- X509Logo.cs
- ExternalFile.cs
- PropertyBuilder.cs
- CompressStream.cs
- PropertyDescriptorComparer.cs
- ToolStripLabel.cs
- Point4DValueSerializer.cs
- TableDetailsCollection.cs
- ProvidePropertyAttribute.cs
- OletxDependentTransaction.cs
- ItemCollection.cs
- SQLByte.cs
- RuntimeArgumentHandle.cs
- SurrogateSelector.cs
- HashHelper.cs
- GeneralTransformGroup.cs
- AsyncResult.cs
- SamlAttribute.cs
- ConnectionProviderAttribute.cs
- PathSegmentCollection.cs
- ArgumentOutOfRangeException.cs
- TableColumnCollectionInternal.cs
- AssemblySettingAttributes.cs
- XmlDataLoader.cs
- PropertyChange.cs
- PagedDataSource.cs
- DbgCompiler.cs
- XmlEncoding.cs
- PropertyDescriptor.cs
- LambdaCompiler.Generated.cs
- Helper.cs
- PageRequestManager.cs
- Dynamic.cs
- MemoryPressure.cs
- XsltLoader.cs
- ActivityValidator.cs
- MessageQueueCriteria.cs
- OneWayChannelFactory.cs
- BindToObject.cs
- LogicalExpr.cs
- HtmlInputControl.cs
- GPPOINT.cs
- SqlProviderServices.cs
- FontSourceCollection.cs
- SiteMapSection.cs
- EndpointAddress10.cs
- DbParameterCollectionHelper.cs
- SelectionEditingBehavior.cs
- ToolConsole.cs
- SoapElementAttribute.cs