Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / security / system / security / authentication / ExtendedProtection / configuration / ServiceNameElement.cs / 2 / 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
- ConstraintStruct.cs
- GenericAuthenticationEventArgs.cs
- MimePart.cs
- Header.cs
- TextAction.cs
- FormView.cs
- ContentControl.cs
- PatternMatchRules.cs
- LazyTextWriterCreator.cs
- _Connection.cs
- TransformedBitmap.cs
- LineSegment.cs
- KeyEvent.cs
- MediaSystem.cs
- MergeLocalizationDirectives.cs
- UrlMappingsModule.cs
- EditingCommands.cs
- TextTreeFixupNode.cs
- ProxyManager.cs
- XPathSelectionIterator.cs
- TextBoxView.cs
- OLEDB_Enum.cs
- ParameterElement.cs
- FreezableOperations.cs
- EntityContainerEntitySetDefiningQuery.cs
- UIntPtr.cs
- MultiDataTrigger.cs
- RangeValidator.cs
- SafeReversePInvokeHandle.cs
- AttributeEmitter.cs
- serverconfig.cs
- RepeaterCommandEventArgs.cs
- ListCollectionView.cs
- EntityDataSourceContainerNameItem.cs
- ToolStripComboBox.cs
- HttpHeaderCollection.cs
- RootBuilder.cs
- AttributeQuery.cs
- ObjectParameter.cs
- HttpModuleAction.cs
- ImmComposition.cs
- DataGridItemEventArgs.cs
- ClientFormsIdentity.cs
- DataFieldEditor.cs
- DataErrorValidationRule.cs
- ParallelQuery.cs
- FrameDimension.cs
- ThreadStateException.cs
- NativeMethods.cs
- HttpAsyncResult.cs
- CodeStatement.cs
- DataSourceCache.cs
- SqlClientWrapperSmiStream.cs
- CertificateReferenceElement.cs
- Utils.cs
- InternalRelationshipCollection.cs
- XPathArrayIterator.cs
- ValidationResults.cs
- HelpInfo.cs
- PriorityBinding.cs
- SerializerDescriptor.cs
- HtmlElementErrorEventArgs.cs
- QilReplaceVisitor.cs
- ThreadAbortException.cs
- DESCryptoServiceProvider.cs
- ColorContext.cs
- SafeViewOfFileHandle.cs
- XsdBuilder.cs
- DSACryptoServiceProvider.cs
- MD5CryptoServiceProvider.cs
- RemoteAsymmetricSignatureFormatter.cs
- PersistenceException.cs
- ResolveMatchesMessage11.cs
- ReadOnlyHierarchicalDataSource.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- KeyInstance.cs
- ExpressionBinding.cs
- ConfigurationManagerInternalFactory.cs
- DPCustomTypeDescriptor.cs
- SqlServices.cs
- CommonObjectSecurity.cs
- RepeaterItemCollection.cs
- BitmapEffect.cs
- CaretElement.cs
- Opcode.cs
- DefaultEventAttribute.cs
- SplineKeyFrames.cs
- PointAnimationUsingKeyFrames.cs
- ScrollBar.cs
- DataTableMappingCollection.cs
- CollectionDataContract.cs
- ImageUrlEditor.cs
- DependencySource.cs
- RTLAwareMessageBox.cs
- ProviderException.cs
- WebCategoryAttribute.cs
- Grid.cs
- RightsManagementPermission.cs
- BinaryParser.cs
- XXXInfos.cs