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
- AuthenticationModulesSection.cs
- CompilerParameters.cs
- AdPostCacheSubstitution.cs
- EventSchemaTraceListener.cs
- ToolboxItemWrapper.cs
- Timer.cs
- AssemblyInfo.cs
- NameTable.cs
- CodeAttributeArgumentCollection.cs
- Publisher.cs
- DataGridViewHitTestInfo.cs
- SourceSwitch.cs
- FormatException.cs
- AccessorTable.cs
- CommonDialog.cs
- X509Certificate.cs
- WindowsUpDown.cs
- AlphabetConverter.cs
- PtsHost.cs
- CodeGroup.cs
- TransformDescriptor.cs
- EnumBuilder.cs
- ObjectPropertyMapping.cs
- VectorCollection.cs
- AttributeProviderAttribute.cs
- XmlSchemaSimpleTypeList.cs
- __Filters.cs
- Model3D.cs
- ObjectReaderCompiler.cs
- BitmapSource.cs
- ScriptingProfileServiceSection.cs
- PrintDialogException.cs
- MediaPlayerState.cs
- SourceInterpreter.cs
- ProfileGroupSettingsCollection.cs
- TypedReference.cs
- InstallHelper.cs
- ImageBrush.cs
- SmtpReplyReader.cs
- TraceUtils.cs
- LinqTreeNodeEvaluator.cs
- RuntimeHelpers.cs
- CodeLabeledStatement.cs
- XmlnsDictionary.cs
- _FtpDataStream.cs
- TypeConverterValueSerializer.cs
- RetrieveVirtualItemEventArgs.cs
- SqlServer2KCompatibilityAnnotation.cs
- BufferBuilder.cs
- XmlObjectSerializerReadContextComplex.cs
- DataGridCellEditEndingEventArgs.cs
- PolicyDesigner.cs
- CompilerParameters.cs
- UnknownWrapper.cs
- DataAccessor.cs
- Visitor.cs
- Brushes.cs
- DataBoundLiteralControl.cs
- ApplicationFileCodeDomTreeGenerator.cs
- Point3DCollection.cs
- PropertyEmitter.cs
- FlatButtonAppearance.cs
- TextElement.cs
- basenumberconverter.cs
- WaitHandleCannotBeOpenedException.cs
- MessageQueueConverter.cs
- IListConverters.cs
- WinEventWrap.cs
- KeyGesture.cs
- TextSelectionHelper.cs
- PersistenceProviderDirectory.cs
- RuleInfoComparer.cs
- AtomServiceDocumentSerializer.cs
- SqlDataSourceStatusEventArgs.cs
- ExternalException.cs
- ActivitySurrogate.cs
- TemplateControlParser.cs
- HwndProxyElementProvider.cs
- CommonXSendMessage.cs
- precedingquery.cs
- Activator.cs
- SourceFilter.cs
- DispatcherSynchronizationContext.cs
- RepeaterDesigner.cs
- HttpCacheVary.cs
- StorageTypeMapping.cs
- Symbol.cs
- Stopwatch.cs
- URLIdentityPermission.cs
- MatrixAnimationUsingPath.cs
- SrgsElement.cs
- HintTextMaxWidthConverter.cs
- AncestorChangedEventArgs.cs
- ProxyWebPartConnectionCollection.cs
- RandomNumberGenerator.cs
- WebOperationContext.cs
- DrawingGroup.cs
- LocalFileSettingsProvider.cs
- DoubleConverter.cs
- PageTrueTypeFont.cs