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
- InternalBase.cs
- RepeaterItemCollection.cs
- TreeBuilder.cs
- MdiWindowListStrip.cs
- Parser.cs
- ColorDialog.cs
- OdbcConnectionOpen.cs
- DuplicateWaitObjectException.cs
- XmlAttributeProperties.cs
- StandardBindingImporter.cs
- COM2ColorConverter.cs
- _DomainName.cs
- ZoneMembershipCondition.cs
- DocumentScope.cs
- httpapplicationstate.cs
- compensatingcollection.cs
- XmlBoundElement.cs
- MultilineStringEditor.cs
- TrackingParameters.cs
- Calendar.cs
- DocumentSequence.cs
- LogicalExpr.cs
- DataSourceSelectArguments.cs
- HttpHandlersSection.cs
- XXXOnTypeBuilderInstantiation.cs
- ChildDocumentBlock.cs
- ResolveDuplex11AsyncResult.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- DataPagerCommandEventArgs.cs
- DataGridCell.cs
- DataIdProcessor.cs
- InvalidCastException.cs
- DefaultPrintController.cs
- ConfigXmlWhitespace.cs
- X509Certificate2.cs
- FieldDescriptor.cs
- ProofTokenCryptoHandle.cs
- MouseGestureValueSerializer.cs
- PrintDialogException.cs
- XamlGridLengthSerializer.cs
- UrlAuthFailedErrorFormatter.cs
- ClickablePoint.cs
- ListArgumentProvider.cs
- ConfigUtil.cs
- ServiceMetadataContractBehavior.cs
- X509ChainPolicy.cs
- SharedDp.cs
- ResumeStoryboard.cs
- TextFragmentEngine.cs
- SymbolEqualComparer.cs
- EditingScopeUndoUnit.cs
- PeerObject.cs
- ActivityWithResultConverter.cs
- SimpleRecyclingCache.cs
- EncoderFallback.cs
- NotifyCollectionChangedEventArgs.cs
- Vector3dCollection.cs
- Command.cs
- ScaleTransform.cs
- XamlNamespaceHelper.cs
- PatternMatchRules.cs
- PeerCollaboration.cs
- UIElement.cs
- ConstrainedGroup.cs
- PathGeometry.cs
- FunctionCommandText.cs
- ComponentCommands.cs
- ModulesEntry.cs
- ClaimTypeElementCollection.cs
- StaticDataManager.cs
- unsafenativemethodstextservices.cs
- ObjectIDGenerator.cs
- NotificationContext.cs
- OpacityConverter.cs
- EncoderNLS.cs
- SelectionEditor.cs
- RtfFormatStack.cs
- CorruptStoreException.cs
- SchemaCollectionCompiler.cs
- HttpRuntimeSection.cs
- ComplexTypeEmitter.cs
- ClientSettingsStore.cs
- OdbcEnvironmentHandle.cs
- LinqDataSourceStatusEventArgs.cs
- XmlSiteMapProvider.cs
- FormatStringEditor.cs
- MetadataArtifactLoaderResource.cs
- HandleCollector.cs
- HashAlgorithm.cs
- SourceFilter.cs
- PropertyDescriptorComparer.cs
- PointCollectionConverter.cs
- CacheOutputQuery.cs
- columnmapfactory.cs
- GridViewRowCollection.cs
- SHA384.cs
- HebrewCalendar.cs
- SafeLocalAllocation.cs
- TreeIterators.cs
- TemplateControlBuildProvider.cs