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
- FontCacheUtil.cs
- PositiveTimeSpanValidatorAttribute.cs
- Int16.cs
- LingerOption.cs
- SystemWebSectionGroup.cs
- FixedTextPointer.cs
- DataBoundControlHelper.cs
- CrossContextChannel.cs
- SqlDataSourceSelectingEventArgs.cs
- EqualityComparer.cs
- UnknownWrapper.cs
- TextTreeExtractElementUndoUnit.cs
- SpecialTypeDataContract.cs
- CodeAttachEventStatement.cs
- HtmlShim.cs
- ReadOnlyTernaryTree.cs
- CommandField.cs
- SQLDateTimeStorage.cs
- Guid.cs
- Registration.cs
- RecognizeCompletedEventArgs.cs
- SortFieldComparer.cs
- DataGridViewCellStyleEditor.cs
- ImageClickEventArgs.cs
- DataPagerFieldItem.cs
- SystemGatewayIPAddressInformation.cs
- SafeEventLogReadHandle.cs
- DataGridViewCheckBoxColumn.cs
- RawStylusInputReport.cs
- DbConnectionPool.cs
- NamedElement.cs
- CoTaskMemUnicodeSafeHandle.cs
- PageThemeCodeDomTreeGenerator.cs
- ActiveXSite.cs
- ActivityValidator.cs
- SharedDp.cs
- ServiceOperationListItem.cs
- TransformerConfigurationWizardBase.cs
- ContentType.cs
- Nullable.cs
- Brush.cs
- CachedPathData.cs
- VolatileEnlistmentState.cs
- ContractBase.cs
- OracleException.cs
- SystemTcpStatistics.cs
- EventLogEntry.cs
- CommonDialog.cs
- MenuItemStyle.cs
- TextElementCollection.cs
- TextCollapsingProperties.cs
- XmlSchemaAttributeGroupRef.cs
- PageSetupDialog.cs
- SafeThreadHandle.cs
- WpfSharedXamlSchemaContext.cs
- CancellationHandlerDesigner.cs
- GeneralTransform.cs
- CodeDomDecompiler.cs
- AggregateNode.cs
- GatewayDefinition.cs
- SynchronizationContext.cs
- coordinatorscratchpad.cs
- TypeNameHelper.cs
- Menu.cs
- BinaryQueryOperator.cs
- DataGridViewColumnConverter.cs
- ResourceSetExpression.cs
- RMEnrollmentPage2.cs
- TypefaceCollection.cs
- DataGridViewRowCollection.cs
- Int64Converter.cs
- ButtonColumn.cs
- BitmapEffectState.cs
- WebPartUserCapability.cs
- SafeNativeMethodsOther.cs
- CommunicationObjectAbortedException.cs
- ComboBoxItem.cs
- RawStylusSystemGestureInputReport.cs
- EditingCommands.cs
- RowParagraph.cs
- StyleReferenceConverter.cs
- EpmContentSerializer.cs
- TextBoxAutoCompleteSourceConverter.cs
- GenerateTemporaryAssemblyTask.cs
- RowUpdatingEventArgs.cs
- CheckBoxList.cs
- GenericEnumConverter.cs
- DataGridViewButtonColumn.cs
- DispatcherHookEventArgs.cs
- AdCreatedEventArgs.cs
- HttpWebRequestElement.cs
- BinHexEncoder.cs
- LayoutSettings.cs
- AttachedPropertyMethodSelector.cs
- Dynamic.cs
- NullableDoubleSumAggregationOperator.cs
- CodeIterationStatement.cs
- SafeLibraryHandle.cs
- KeyGestureConverter.cs
- PartBasedPackageProperties.cs