Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / IssuedTokenParametersEndpointAddressElement.cs / 1 / IssuedTokenParametersEndpointAddressElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.ServiceModel; using System.Configuration; using System.ServiceModel.Channels; using System.Xml; public sealed partial class IssuedTokenParametersEndpointAddressElement : EndpointAddressElementBase, IConfigurationContextProviderInternal { public IssuedTokenParametersEndpointAddressElement() : base() { } [ConfigurationProperty(ConfigurationStrings.Binding, DefaultValue = "")] [StringValidator(MinLength = 0)] public string Binding { get {return (string) base[ConfigurationStrings.Binding]; } set { if (String.IsNullOrEmpty(value)) { value = String.Empty; } base[ConfigurationStrings.Binding] = value; } } [ConfigurationProperty(ConfigurationStrings.BindingConfiguration, DefaultValue = "")] [StringValidator(MinLength = 0)] public string BindingConfiguration { get {return (string) base[ConfigurationStrings.BindingConfiguration]; } set { if (String.IsNullOrEmpty(value)) { value = String.Empty; } base[ConfigurationStrings.BindingConfiguration] = value; } } internal void Copy(IssuedTokenParametersEndpointAddressElement source) { base.Copy(source); this.BindingConfiguration = source.BindingConfiguration; this.Binding = source.Binding; } internal void Validate() { ContextInformation context = ConfigurationHelpers.GetEvaluationContext(this); if (context != null && !String.IsNullOrEmpty(this.Binding)) { BindingsSection.ValidateBindingReference(this.Binding, this.BindingConfiguration, context, this); } } ContextInformation IConfigurationContextProviderInternal.GetEvaluationContext() { return this.EvaluationContext; } ////// RequiresReview - the return value will be used for a security decision -- see comment in interface definition /// ContextInformation IConfigurationContextProviderInternal.GetOriginalEvaluationContext() { DiagnosticUtility.DebugAssert("Not implemented: IConfigurationContextProviderInternal.GetOriginalEvaluationContext"); return null; } } } // 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
- XPathDescendantIterator.cs
- WorkflowInstanceContextProvider.cs
- AssemblyCache.cs
- ImageSource.cs
- PlainXmlDeserializer.cs
- InstanceContext.cs
- DeploymentSection.cs
- CodeAttachEventStatement.cs
- IDQuery.cs
- CompressStream.cs
- InputEventArgs.cs
- Unit.cs
- XMLSyntaxException.cs
- SystemInformation.cs
- TextStore.cs
- DependencyObject.cs
- StateBag.cs
- ScriptingRoleServiceSection.cs
- SourceItem.cs
- PolyQuadraticBezierSegment.cs
- XamlWrapperReaders.cs
- SerializationInfoEnumerator.cs
- DataTableClearEvent.cs
- WebProxyScriptElement.cs
- BitmapEffectGroup.cs
- HttpPostedFile.cs
- ScrollPattern.cs
- PerspectiveCamera.cs
- XsltLibrary.cs
- VirtualizingPanel.cs
- FormViewUpdatedEventArgs.cs
- SymbolType.cs
- XmlTextEncoder.cs
- KeyValuePairs.cs
- DataGridTextBoxColumn.cs
- TreeBuilder.cs
- PagerStyle.cs
- SystemSounds.cs
- TextSerializer.cs
- ZipArchive.cs
- EdmSchemaError.cs
- ZipFileInfo.cs
- AdapterDictionary.cs
- CalendarDay.cs
- XPathPatternParser.cs
- PerformanceCounterCategory.cs
- StatusBarAutomationPeer.cs
- SplitterEvent.cs
- ProvidersHelper.cs
- FontConverter.cs
- FontFaceLayoutInfo.cs
- SafeTimerHandle.cs
- XmlProcessingInstruction.cs
- RIPEMD160Managed.cs
- HtmlDocument.cs
- DelimitedListTraceListener.cs
- Button.cs
- PointLightBase.cs
- DetailsViewCommandEventArgs.cs
- UIElement3DAutomationPeer.cs
- SettingsSavedEventArgs.cs
- GridViewAutoFormat.cs
- SqlDependencyListener.cs
- PointConverter.cs
- WebPartEventArgs.cs
- _NtlmClient.cs
- DataConnectionHelper.cs
- followingquery.cs
- QueryOperator.cs
- RowToParametersTransformer.cs
- EventBuilder.cs
- Int64Storage.cs
- SapiRecognizer.cs
- WebPartEventArgs.cs
- LinqDataSourceDisposeEventArgs.cs
- ApplyHostConfigurationBehavior.cs
- ScalarType.cs
- LinqDataSourceDeleteEventArgs.cs
- XmlSchemaSimpleContentRestriction.cs
- XmlComment.cs
- DictionarySectionHandler.cs
- DataBindingValueUIHandler.cs
- SelectionWordBreaker.cs
- SequenceDesigner.xaml.cs
- IndexerHelper.cs
- Pool.cs
- CodeCastExpression.cs
- ScrollBarAutomationPeer.cs
- SQLByteStorage.cs
- CurrentChangingEventArgs.cs
- SystemColorTracker.cs
- InvokeHandlers.cs
- SecureStringHasher.cs
- HttpRuntime.cs
- UpdatePanelControlTrigger.cs
- TextTreeTextNode.cs
- UserUseLicenseDictionaryLoader.cs
- PageCache.cs
- CompilationUtil.cs
- MexTcpBindingCollectionElement.cs