Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / PrivacyNoticeElement.cs / 1 / PrivacyNoticeElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Configuration; using System.ServiceModel; using System.ServiceModel.Channels; public partial class PrivacyNoticeElement : BindingElementExtensionElement { [ConfigurationProperty(ConfigurationStrings.Url)] public Uri Url { get { return (Uri)base[ConfigurationStrings.Url]; } set { base[ConfigurationStrings.Url] = value; } } [ConfigurationProperty(ConfigurationStrings.Version, DefaultValue = 0)] [IntegerValidator(MinValue = 0)] public int Version { get { return (int)base[ConfigurationStrings.Version]; } set { base[ConfigurationStrings.Version] = value; } } public override Type BindingElementType { get { return typeof( PrivacyNoticeBindingElement ); } } public override void ApplyConfiguration(BindingElement bindingElement) { base.ApplyConfiguration(bindingElement); PrivacyNoticeBindingElement binding = (PrivacyNoticeBindingElement)bindingElement; binding.Url = this.Url; binding.Version = this.Version; } protected internal override BindingElement CreateBindingElement() { PrivacyNoticeBindingElement binding = new PrivacyNoticeBindingElement(); this.ApplyConfiguration(binding); return binding; } public override void CopyFrom(ServiceModelExtensionElement from) { base.CopyFrom(from); PrivacyNoticeElement source = (PrivacyNoticeElement) from; #pragma warning suppress 56506 // [....], base.CopyFrom() validates the argument this.Url = source.Url; this.Version = source.Version; } protected internal override void InitializeFrom(BindingElement bindingElement) { base.InitializeFrom(bindingElement); PrivacyNoticeBindingElement binding = (PrivacyNoticeBindingElement)bindingElement; this.Url = binding.Url; this.Version = binding.Version; } } } // 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
- HitTestWithGeometryDrawingContextWalker.cs
- Effect.cs
- OleServicesContext.cs
- DiagnosticsConfigurationHandler.cs
- WebConfigurationHost.cs
- coordinatorfactory.cs
- XmlNamedNodeMap.cs
- DetailsViewDeletedEventArgs.cs
- XmlSerializerFactory.cs
- TileModeValidation.cs
- ContentHostHelper.cs
- AxParameterData.cs
- DbConnectionPoolGroupProviderInfo.cs
- BuildResult.cs
- GeneralTransformCollection.cs
- Classification.cs
- ComboBoxItem.cs
- ZeroOpNode.cs
- XamlStackWriter.cs
- DbParameterCollectionHelper.cs
- relpropertyhelper.cs
- SessionSwitchEventArgs.cs
- InputManager.cs
- StackBuilderSink.cs
- GroupBox.cs
- AttributeUsageAttribute.cs
- BinHexDecoder.cs
- ToolStripItemDataObject.cs
- DecimalSumAggregationOperator.cs
- ComponentResourceKeyConverter.cs
- ParameterExpression.cs
- RIPEMD160Managed.cs
- DataSourceUtil.cs
- OdbcErrorCollection.cs
- RepeaterItemEventArgs.cs
- MarshalDirectiveException.cs
- EndpointInfoCollection.cs
- URLMembershipCondition.cs
- ChangeInterceptorAttribute.cs
- HttpClientCertificate.cs
- ThrowHelper.cs
- TableColumnCollectionInternal.cs
- WasAdminWrapper.cs
- FindCriteriaApril2005.cs
- AuthenticationManager.cs
- GeneralTransform3DGroup.cs
- ButtonColumn.cs
- PersonalizationProviderHelper.cs
- Ipv6Element.cs
- SessionEndingCancelEventArgs.cs
- XmlSiteMapProvider.cs
- PenLineCapValidation.cs
- TextBoxRenderer.cs
- PageTheme.cs
- HttpChannelBindingToken.cs
- oledbconnectionstring.cs
- ConfigurationValidatorAttribute.cs
- DesignerVerbToolStripMenuItem.cs
- NavigationHelper.cs
- CodeAttachEventStatement.cs
- CodeCommentStatementCollection.cs
- SpinWait.cs
- ArrayList.cs
- CodeNamespaceCollection.cs
- UnsafeMethods.cs
- TerminatorSinks.cs
- PreProcessor.cs
- VBCodeProvider.cs
- ViewSimplifier.cs
- FacetDescription.cs
- SiteMapNodeItemEventArgs.cs
- Form.cs
- ConfigXmlElement.cs
- HandleInitializationContext.cs
- HTMLTagNameToTypeMapper.cs
- JavaScriptSerializer.cs
- WeakRefEnumerator.cs
- PropertyDescriptor.cs
- FormClosedEvent.cs
- CodeArrayCreateExpression.cs
- PbrsForward.cs
- ClientSession.cs
- WebPartRestoreVerb.cs
- CodeIndexerExpression.cs
- DiscoveryMessageSequence11.cs
- PaintValueEventArgs.cs
- TypeFieldSchema.cs
- DescriptionAttribute.cs
- DefaultBinder.cs
- TypeSystemHelpers.cs
- CacheSection.cs
- _SpnDictionary.cs
- AsyncInvokeContext.cs
- DefaultValueTypeConverter.cs
- ArrayWithOffset.cs
- DataGridClipboardCellContent.cs
- Action.cs
- VirtualPath.cs
- Viewport2DVisual3D.cs
- SqlNotificationEventArgs.cs