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
- MetaModel.cs
- TraceRecord.cs
- GenericXmlSecurityToken.cs
- HwndHostAutomationPeer.cs
- FileDataSource.cs
- AbstractDataSvcMapFileLoader.cs
- TargetControlTypeCache.cs
- CollectionViewGroupInternal.cs
- ExecutionContext.cs
- Queue.cs
- SqlDataSourceConnectionPanel.cs
- PrtTicket_Editor.cs
- StandardCommands.cs
- __Error.cs
- ViewStateModeByIdAttribute.cs
- DiscardableAttribute.cs
- XamlWrapperReaders.cs
- SiteMapPath.cs
- PageContentAsyncResult.cs
- MatrixAnimationUsingPath.cs
- AdPostCacheSubstitution.cs
- RegistrySecurity.cs
- XPathSingletonIterator.cs
- ProfileProvider.cs
- FixedDocumentPaginator.cs
- CodePropertyReferenceExpression.cs
- WebHttpSecurity.cs
- ItemCheckEvent.cs
- XmlNodeChangedEventManager.cs
- StylusOverProperty.cs
- XmlSchemaAttributeGroup.cs
- StringUtil.cs
- Script.cs
- Win32.cs
- SystemNetHelpers.cs
- CqlBlock.cs
- SiteIdentityPermission.cs
- TransformPattern.cs
- PropertyValueUIItem.cs
- ConfigXmlElement.cs
- MonthCalendar.cs
- TextReturnReader.cs
- UpdatePanelTrigger.cs
- Viewport3DAutomationPeer.cs
- AlphabetConverter.cs
- EndOfStreamException.cs
- FontStretchConverter.cs
- ToolStripPanelSelectionGlyph.cs
- DatePickerAutomationPeer.cs
- ValidationErrorCollection.cs
- ClientApiGenerator.cs
- TextureBrush.cs
- TypeUnloadedException.cs
- ComponentResourceManager.cs
- ConfigurationSection.cs
- LinqDataSourceSelectEventArgs.cs
- StringExpressionSet.cs
- MemoryMappedViewStream.cs
- figurelengthconverter.cs
- grammarelement.cs
- PrefixQName.cs
- BigInt.cs
- SchemaImporterExtension.cs
- Exceptions.cs
- DataReaderContainer.cs
- BooleanExpr.cs
- DisplayInformation.cs
- Script.cs
- DataGridViewCellConverter.cs
- BinaryParser.cs
- FormViewDesigner.cs
- GridViewPageEventArgs.cs
- TextDecorationUnitValidation.cs
- MimeReturn.cs
- IDataContractSurrogate.cs
- XmlSiteMapProvider.cs
- LabelEditEvent.cs
- CodeAccessPermission.cs
- ProfileModule.cs
- ComboBoxAutomationPeer.cs
- ListViewGroupConverter.cs
- OdbcCommandBuilder.cs
- GeneralTransform2DTo3D.cs
- RawContentTypeMapper.cs
- DrawingAttributesDefaultValueFactory.cs
- RequestResizeEvent.cs
- EditorOptionAttribute.cs
- ReflectEventDescriptor.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- ConnectionProviderAttribute.cs
- TimeoutException.cs
- ListViewItem.cs
- SmiEventSink_Default.cs
- PTManager.cs
- isolationinterop.cs
- SchemaTypeEmitter.cs
- Stack.cs
- WebBrowserBase.cs
- CompositeDataBoundControl.cs
- HtmlForm.cs