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
- ColumnResizeAdorner.cs
- HtmlPageAdapter.cs
- TransactionScopeDesigner.cs
- Decimal.cs
- ObjectMemberMapping.cs
- ResourcePermissionBaseEntry.cs
- Accessible.cs
- PointConverter.cs
- View.cs
- KeySplineConverter.cs
- CultureInfoConverter.cs
- GeneralEndpointIdentity.cs
- SafeTimerHandle.cs
- ProjectionCamera.cs
- ElementProxy.cs
- Bind.cs
- AddDataControlFieldDialog.cs
- NativeMethods.cs
- SchemaMapping.cs
- ExceptionNotification.cs
- DataRowExtensions.cs
- EntityObject.cs
- SaveFileDialog.cs
- PathFigure.cs
- RegexWriter.cs
- CodeDOMProvider.cs
- TextRunCache.cs
- DiffuseMaterial.cs
- Section.cs
- AccessViolationException.cs
- LinqDataSourceSelectEventArgs.cs
- AbstractSvcMapFileLoader.cs
- CornerRadiusConverter.cs
- ResourceSet.cs
- StorageMappingItemCollection.cs
- ByteStorage.cs
- SerializationStore.cs
- CachedBitmap.cs
- WebHttpSecurity.cs
- StandardBindingElement.cs
- GPStream.cs
- HttpPostProtocolImporter.cs
- ControlBuilderAttribute.cs
- InputLangChangeRequestEvent.cs
- TextFormatterImp.cs
- ApplyImportsAction.cs
- BitmapEncoder.cs
- WSSecurityXXX2005.cs
- LinqDataSourceEditData.cs
- CfgArc.cs
- XmlILStorageConverter.cs
- SoapCodeExporter.cs
- DataGrid.cs
- FacetChecker.cs
- FixedDocument.cs
- DynamicValueConverter.cs
- Condition.cs
- SignatureDescription.cs
- ModuleElement.cs
- DataPagerCommandEventArgs.cs
- AssemblyHash.cs
- WebPartTransformerCollection.cs
- XmlSchemaNotation.cs
- InheritanceRules.cs
- ResourceDescriptionAttribute.cs
- MethodRental.cs
- LiteralControl.cs
- MetaModel.cs
- ServiceOperationUIEditor.cs
- DataServiceConfiguration.cs
- EventManager.cs
- ComboBoxRenderer.cs
- AuthorizationContext.cs
- HandleRef.cs
- Vector3DCollectionConverter.cs
- PersonalizablePropertyEntry.cs
- LayoutDump.cs
- FormViewUpdateEventArgs.cs
- ValueQuery.cs
- DataBindingHandlerAttribute.cs
- ModelService.cs
- Facet.cs
- FactoryGenerator.cs
- RuntimeConfigLKG.cs
- SemanticKeyElement.cs
- SyntaxCheck.cs
- ListViewEditEventArgs.cs
- RelationshipConstraintValidator.cs
- WindowsToolbarItemAsMenuItem.cs
- Vector3DCollectionConverter.cs
- FeatureManager.cs
- Axis.cs
- CodeCommentStatementCollection.cs
- ParagraphResult.cs
- DataListDesigner.cs
- XmlReflectionMember.cs
- StringOutput.cs
- InvokeBase.cs
- HashSet.cs
- TriggerBase.cs