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
- DragDropHelper.cs
- SubqueryTrackingVisitor.cs
- Overlapped.cs
- DocumentOrderComparer.cs
- UpdateManifestForBrowserApplication.cs
- ZoneMembershipCondition.cs
- ChtmlSelectionListAdapter.cs
- TabItem.cs
- SafeEventLogReadHandle.cs
- DataGridViewCellEventArgs.cs
- ScheduleChanges.cs
- HyperLinkColumn.cs
- DBCSCodePageEncoding.cs
- CompModSwitches.cs
- ExpandedWrapper.cs
- NullRuntimeConfig.cs
- SourceFileBuildProvider.cs
- ViewPort3D.cs
- SafeFileMappingHandle.cs
- TableLayoutPanelResizeGlyph.cs
- UseManagedPresentationBindingElementImporter.cs
- SchemaMerger.cs
- BitmapCodecInfo.cs
- RuleSettings.cs
- CodePageUtils.cs
- DesignObjectWrapper.cs
- XmlExtensionFunction.cs
- TextFormatterContext.cs
- ServicePrincipalNameElement.cs
- IsolatedStorage.cs
- XmlSchemaSimpleContentExtension.cs
- TreeViewBindingsEditor.cs
- UInt16Storage.cs
- EventDescriptorCollection.cs
- Vector3DAnimationUsingKeyFrames.cs
- StructuralObject.cs
- BookmarkResumptionRecord.cs
- Content.cs
- FormParameter.cs
- safemediahandle.cs
- StylusSystemGestureEventArgs.cs
- followingquery.cs
- SimpleExpression.cs
- hwndwrapper.cs
- WebAdminConfigurationHelper.cs
- DbConnectionPoolGroupProviderInfo.cs
- NodeFunctions.cs
- SerialErrors.cs
- ObjectPersistData.cs
- KeyPressEvent.cs
- TextBoxView.cs
- Label.cs
- RunInstallerAttribute.cs
- SecurityPolicySection.cs
- SqlNotificationRequest.cs
- EventMappingSettingsCollection.cs
- ADConnectionHelper.cs
- SmiEventSink.cs
- RestHandler.cs
- ListBox.cs
- OracleCommand.cs
- WebPartCancelEventArgs.cs
- InputEventArgs.cs
- GridSplitter.cs
- DiscreteKeyFrames.cs
- VirtualPathProvider.cs
- PostBackOptions.cs
- PointLight.cs
- NamespaceMapping.cs
- QuaternionRotation3D.cs
- SoapUnknownHeader.cs
- ConsumerConnectionPoint.cs
- XamlPoint3DCollectionSerializer.cs
- DbParameterHelper.cs
- HostProtectionException.cs
- CodeConstructor.cs
- SqlDataSourceConfigureSelectPanel.cs
- PersonalizationProviderHelper.cs
- CqlErrorHelper.cs
- XPathNodeInfoAtom.cs
- TemplateAction.cs
- HttpServerVarsCollection.cs
- SerialStream.cs
- OracleDateTime.cs
- URLAttribute.cs
- XmlnsCache.cs
- Msmq4SubqueuePoisonHandler.cs
- SymDocumentType.cs
- Page.cs
- ListChangedEventArgs.cs
- TextBreakpoint.cs
- MdiWindowListStrip.cs
- Typeface.cs
- TreeNode.cs
- PaperSource.cs
- NamedPipeWorkerProcess.cs
- BaseDataListComponentEditor.cs
- xmlglyphRunInfo.cs
- SessionKeyExpiredException.cs
- Vector3DValueSerializer.cs