Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / security / system / security / authentication / ExtendedProtection / configuration / ServiceNameElement.cs / 1305376 / ServiceNameElement.cs
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.Configuration; namespace System.Security.Authentication.ExtendedProtection.Configuration { public sealed class ServiceNameElement : ConfigurationElement { public ServiceNameElement() { this.properties.Add(this.name); } [ConfigurationProperty(ExtendedProtectionConfigurationStrings.Name)] public string Name { get { return (string)this[this.name]; } set { this[this.name] = value; } } protected override ConfigurationPropertyCollection Properties { get { return this.properties; } } internal string Key { get { return this.Name; } } ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); readonly ConfigurationProperty name = new ConfigurationProperty(ExtendedProtectionConfigurationStrings.Name, typeof(string), null, ConfigurationPropertyOptions.IsRequired); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.Configuration; namespace System.Security.Authentication.ExtendedProtection.Configuration { public sealed class ServiceNameElement : ConfigurationElement { public ServiceNameElement() { this.properties.Add(this.name); } [ConfigurationProperty(ExtendedProtectionConfigurationStrings.Name)] public string Name { get { return (string)this[this.name]; } set { this[this.name] = value; } } protected override ConfigurationPropertyCollection Properties { get { return this.properties; } } internal string Key { get { return this.Name; } } ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); readonly ConfigurationProperty name = new ConfigurationProperty(ExtendedProtectionConfigurationStrings.Name, typeof(string), null, ConfigurationPropertyOptions.IsRequired); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Events.cs
- WorkflowPersistenceService.cs
- HistoryEventArgs.cs
- PeerNearMe.cs
- TransformedBitmap.cs
- Int64Animation.cs
- wmiprovider.cs
- SHA384.cs
- PaginationProgressEventArgs.cs
- Vector.cs
- webbrowsersite.cs
- DateTimeValueSerializer.cs
- ThousandthOfEmRealDoubles.cs
- UnsafeNativeMethods.cs
- DirectionalLight.cs
- XmlSchemaAnnotated.cs
- PagesSection.cs
- NumberFunctions.cs
- GeometryCombineModeValidation.cs
- Literal.cs
- Point3D.cs
- DoubleKeyFrameCollection.cs
- OdbcFactory.cs
- Int32Rect.cs
- OutArgumentConverter.cs
- HierarchicalDataBoundControl.cs
- AmbientLight.cs
- InteropBitmapSource.cs
- ParameterInfo.cs
- SystemTcpConnection.cs
- ProxyWebPart.cs
- AmbientLight.cs
- SafeWaitHandle.cs
- CategoryValueConverter.cs
- X509SecurityToken.cs
- DataGridItem.cs
- DSACryptoServiceProvider.cs
- PEFileReader.cs
- XmlObjectSerializerWriteContext.cs
- CodeGenHelper.cs
- regiisutil.cs
- BCLDebug.cs
- ParseNumbers.cs
- AsyncOperationManager.cs
- EnumerableRowCollection.cs
- TripleDESCryptoServiceProvider.cs
- XmlSchemaNotation.cs
- OrderingInfo.cs
- MultiBinding.cs
- shaperfactoryquerycacheentry.cs
- Section.cs
- TransportContext.cs
- TraceContextRecord.cs
- ReliableMessagingVersion.cs
- CollectionType.cs
- WizardStepBase.cs
- Stopwatch.cs
- Application.cs
- FolderBrowserDialog.cs
- ProfilePropertyMetadata.cs
- AuthenticationSection.cs
- ScaleTransform3D.cs
- ListViewPagedDataSource.cs
- DesignTimeTemplateParser.cs
- ReverseInheritProperty.cs
- FieldAccessException.cs
- ArgumentNullException.cs
- X509ThumbprintKeyIdentifierClause.cs
- SourceFilter.cs
- RowParagraph.cs
- HostedTransportConfigurationManager.cs
- DefaultAsyncDataDispatcher.cs
- __TransparentProxy.cs
- SqlConnectionString.cs
- EntityPropertyMappingAttribute.cs
- Win32MouseDevice.cs
- DesignTimeHTMLTextWriter.cs
- SessionStateModule.cs
- DataColumnMappingCollection.cs
- ConfigurationException.cs
- RawKeyboardInputReport.cs
- LocationUpdates.cs
- WorkflowEnvironment.cs
- SimpleType.cs
- SymbolType.cs
- CacheManager.cs
- KeyProperty.cs
- MessageSecurityException.cs
- controlskin.cs
- XmlObjectSerializerWriteContext.cs
- StylusPoint.cs
- X500Name.cs
- DataBindingHandlerAttribute.cs
- Label.cs
- ToolStripItemClickedEventArgs.cs
- SupportsEventValidationAttribute.cs
- EditBehavior.cs
- ToolboxItemCollection.cs
- HandleCollector.cs
- EdmPropertyAttribute.cs