Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / BaseAddressPrefixFilterElementCollection.cs / 1 / BaseAddressPrefixFilterElementCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.Collections.Generic; using System.Text; using System.Configuration; [ConfigurationCollection(typeof(BaseAddressPrefixFilterElement))] public sealed class BaseAddressPrefixFilterElementCollection : ServiceModelConfigurationElementCollection{ public BaseAddressPrefixFilterElementCollection() : base(ConfigurationElementCollectionType.AddRemoveClearMap, ConfigurationStrings.Add) { } protected override ConfigurationElement CreateNewElement() { return new BaseAddressPrefixFilterElement(); } protected override Object GetElementKey(ConfigurationElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } BaseAddressPrefixFilterElement configElementKey = (BaseAddressPrefixFilterElement)element; return configElementKey.Prefix; } protected override bool ThrowOnDuplicate { get { return true; } } } } // 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
- SecurityKeyIdentifierClause.cs
- ResizingMessageFilter.cs
- MobileUserControlDesigner.cs
- CodeCommentStatementCollection.cs
- MediaEntryAttribute.cs
- DescendantBaseQuery.cs
- ExpressionList.cs
- InvokeBase.cs
- NullableBoolConverter.cs
- XPathSelfQuery.cs
- RegistryPermission.cs
- ApplicationContext.cs
- Module.cs
- metrodevice.cs
- sapiproxy.cs
- ComplexLine.cs
- ItemCollection.cs
- XamlPoint3DCollectionSerializer.cs
- WorkflowMarkupSerializationManager.cs
- TraceHandler.cs
- TextInfo.cs
- QilStrConcat.cs
- ZipPackage.cs
- PageBorderless.cs
- ToolStripItemTextRenderEventArgs.cs
- WebBrowserNavigatedEventHandler.cs
- CodeDOMUtility.cs
- Material.cs
- RuntimeConfig.cs
- SlipBehavior.cs
- OleDbParameterCollection.cs
- UInt16Converter.cs
- AdRotator.cs
- RangeContentEnumerator.cs
- ColorTranslator.cs
- DataGridCell.cs
- MetadataExporter.cs
- loginstatus.cs
- MessageQueueCriteria.cs
- NetTcpSecurity.cs
- FixedSOMTableCell.cs
- ControlCachePolicy.cs
- _AutoWebProxyScriptHelper.cs
- ISessionStateStore.cs
- UIElement3D.cs
- ToggleProviderWrapper.cs
- FocusChangedEventArgs.cs
- UniformGrid.cs
- ReaderOutput.cs
- XhtmlBasicLiteralTextAdapter.cs
- ReceiveContent.cs
- Font.cs
- WinEventHandler.cs
- Wildcard.cs
- DefaultTextStoreTextComposition.cs
- TimelineCollection.cs
- TracedNativeMethods.cs
- AuthenticatedStream.cs
- EntityContainerEmitter.cs
- SeekStoryboard.cs
- MenuItemCollection.cs
- SharedStatics.cs
- LocalTransaction.cs
- AudioSignalProblemOccurredEventArgs.cs
- TransformedBitmap.cs
- DataSourceControlBuilder.cs
- ToolStripButton.cs
- DetailsViewUpdatedEventArgs.cs
- UIElementPropertyUndoUnit.cs
- dtdvalidator.cs
- Dispatcher.cs
- FrameworkEventSource.cs
- XmlChildEnumerator.cs
- OperationFormatUse.cs
- DataGridViewColumnCollection.cs
- BitmapEffectCollection.cs
- ToolStripArrowRenderEventArgs.cs
- TableLayout.cs
- DataGridViewSelectedRowCollection.cs
- RefreshEventArgs.cs
- ResumeStoryboard.cs
- X509Certificate2.cs
- WpfXamlType.cs
- Quad.cs
- UriSection.cs
- FormViewInsertEventArgs.cs
- Vector3DConverter.cs
- ExpressionBindingCollection.cs
- SqlConnectionStringBuilder.cs
- SamlEvidence.cs
- ToolStripGrip.cs
- RoleExceptions.cs
- PointAnimationUsingPath.cs
- TaiwanCalendar.cs
- TransactionProtocol.cs
- DiagnosticsConfigurationHandler.cs
- ClientApiGenerator.cs
- Label.cs
- DataViewSetting.cs
- Pen.cs