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
- DateTimeUtil.cs
- RelatedImageListAttribute.cs
- TryExpression.cs
- EmptyReadOnlyDictionaryInternal.cs
- ToolStripComboBox.cs
- MouseActionConverter.cs
- SortedList.cs
- EllipseGeometry.cs
- TextTreeNode.cs
- TextEditorSelection.cs
- QilExpression.cs
- TabControlCancelEvent.cs
- ButtonColumn.cs
- MaterializeFromAtom.cs
- DataGridViewCellStyleChangedEventArgs.cs
- OleDbFactory.cs
- RecordManager.cs
- MemberRelationshipService.cs
- EntityContainerEmitter.cs
- NativeMethods.cs
- NamespaceCollection.cs
- OdbcEnvironment.cs
- ParserStreamGeometryContext.cs
- WebPartConnectionsConfigureVerb.cs
- ToolStripDropDownItem.cs
- WebPartConnectionsCancelEventArgs.cs
- XAMLParseException.cs
- CodeDelegateCreateExpression.cs
- Visual3D.cs
- SchemaNames.cs
- EncoderFallback.cs
- XmlBinaryReader.cs
- XmlAttributeAttribute.cs
- Pick.cs
- SvcMapFile.cs
- TextDecorationUnitValidation.cs
- AnnotationService.cs
- ToolStripContainer.cs
- DropTarget.cs
- FacetChecker.cs
- EditorAttribute.cs
- BuildProviderAppliesToAttribute.cs
- TableCellCollection.cs
- ErrorsHelper.cs
- dbenumerator.cs
- RecognizeCompletedEventArgs.cs
- CompModSwitches.cs
- XmlSchemaImporter.cs
- Array.cs
- QilXmlReader.cs
- NamedObject.cs
- EmptyStringExpandableObjectConverter.cs
- ToolStripControlHost.cs
- HttpCapabilitiesEvaluator.cs
- CultureMapper.cs
- CompositeDesignerAccessibleObject.cs
- PointAnimationUsingPath.cs
- MemoryMappedViewStream.cs
- GlyphCollection.cs
- DataGridViewCellStyle.cs
- BindableTemplateBuilder.cs
- SystemWebCachingSectionGroup.cs
- _BufferOffsetSize.cs
- Attributes.cs
- XPathChildIterator.cs
- DelegateBodyWriter.cs
- SoapExtensionReflector.cs
- FontFamily.cs
- PropertyGeneratedEventArgs.cs
- LostFocusEventManager.cs
- _OverlappedAsyncResult.cs
- PartitionResolver.cs
- formatter.cs
- PassportPrincipal.cs
- FrameworkName.cs
- DataBoundControlParameterTarget.cs
- SecurityContext.cs
- AttributedMetaModel.cs
- SqlDataSourceCustomCommandPanel.cs
- PathBox.cs
- MissingSatelliteAssemblyException.cs
- ObfuscateAssemblyAttribute.cs
- SqlMultiplexer.cs
- TrustSection.cs
- SimpleType.cs
- ReturnEventArgs.cs
- TypeConstant.cs
- WorkingDirectoryEditor.cs
- ScrollChrome.cs
- NameValueSectionHandler.cs
- QueryTreeBuilder.cs
- XpsS0ValidatingLoader.cs
- DateTimeConverter2.cs
- NullNotAllowedCollection.cs
- XPathNavigatorReader.cs
- GridView.cs
- KeySpline.cs
- InternalConfigRoot.cs
- RefType.cs
- SoapExtensionReflector.cs