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
- SiblingIterators.cs
- SqlClientWrapperSmiStream.cs
- SqlEnums.cs
- MenuItemBinding.cs
- ViewValidator.cs
- JournalEntryListConverter.cs
- PropertyTab.cs
- StateDesigner.Helpers.cs
- EntryWrittenEventArgs.cs
- InfoCardServiceInstallComponent.cs
- HttpResponseBase.cs
- CapabilitiesPattern.cs
- CachedPathData.cs
- Char.cs
- RequestValidator.cs
- IncrementalReadDecoders.cs
- HostExecutionContextManager.cs
- CheckBoxField.cs
- ArraySegment.cs
- DBCommand.cs
- DetailsViewCommandEventArgs.cs
- DataGridViewAdvancedBorderStyle.cs
- CommonRemoteMemoryBlock.cs
- FunctionQuery.cs
- MarkupCompilePass1.cs
- TreeViewBindingsEditorForm.cs
- BamlWriter.cs
- Helper.cs
- AttributeCollection.cs
- BindingCompleteEventArgs.cs
- EmptyStringExpandableObjectConverter.cs
- CodeDirectoryCompiler.cs
- DataObjectCopyingEventArgs.cs
- MdImport.cs
- KeyConstraint.cs
- WebControlParameterProxy.cs
- WaitHandleCannotBeOpenedException.cs
- SizeChangedInfo.cs
- IconConverter.cs
- EntityContainerRelationshipSetEnd.cs
- TableLayout.cs
- StreamInfo.cs
- webeventbuffer.cs
- SByteConverter.cs
- PolyLineSegmentFigureLogic.cs
- _ContextAwareResult.cs
- StateManager.cs
- AffineTransform3D.cs
- SecureStringHasher.cs
- TimelineCollection.cs
- _ListenerResponseStream.cs
- SafeCancelMibChangeNotify.cs
- StorageModelBuildProvider.cs
- ToolBarPanel.cs
- DbConnectionPoolGroupProviderInfo.cs
- CommandValueSerializer.cs
- PolygonHotSpot.cs
- QueryOutputWriter.cs
- DeviceSpecificDesigner.cs
- documentsequencetextpointer.cs
- DefaultValueConverter.cs
- COM2ComponentEditor.cs
- PreProcessor.cs
- Int64.cs
- WpfXamlLoader.cs
- ResponseBodyWriter.cs
- Latin1Encoding.cs
- QilTypeChecker.cs
- UICuesEvent.cs
- AvTrace.cs
- Renderer.cs
- TimeZone.cs
- ProjectionPathBuilder.cs
- _UriTypeConverter.cs
- NotifyIcon.cs
- TextServicesHost.cs
- NavigationPropertySingletonExpression.cs
- WebPartDescription.cs
- KnownIds.cs
- ItemsChangedEventArgs.cs
- IntegerValidatorAttribute.cs
- DataShape.cs
- WebColorConverter.cs
- _RequestCacheProtocol.cs
- Mutex.cs
- ImageKeyConverter.cs
- MatrixKeyFrameCollection.cs
- XmlAnyElementAttributes.cs
- SafeNativeMethods.cs
- Int64Storage.cs
- AxHost.cs
- SendMessageRecord.cs
- GenericWebPart.cs
- AdditionalEntityFunctions.cs
- WmpBitmapDecoder.cs
- UnsafeNativeMethods.cs
- AutoResetEvent.cs
- DataGridViewCellValueEventArgs.cs
- CheckoutException.cs
- PngBitmapDecoder.cs