Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / RegisteredExpandoAttribute.cs / 1305376 / RegisteredExpandoAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System.Diagnostics; using System.Diagnostics.CodeAnalysis; [ SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix", Justification = "Consistent with RegisterExpandoAttribute API."), ] public sealed class RegisteredExpandoAttribute { private Control _control; private string _name; private string _value; private string _controlId; private bool _encode; internal RegisteredExpandoAttribute(Control control, string controlId, string name, string value, bool encode) { Debug.Assert(control != null); Debug.Assert(!String.IsNullOrEmpty(controlId)); Debug.Assert(!String.IsNullOrEmpty(name)); // value can be null _control = control; _controlId = controlId; _name = name; _value = value; _encode = encode; } public string Name { get { return _name; } } public string Value { get { // may be null return _value; } } public Control Control { get { return _control; } } public string ControlId { get { return _controlId; } } public bool Encode { get { return _encode; } } } } // 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
- GeneratedCodeAttribute.cs
- AssociationProvider.cs
- TextRangeBase.cs
- EventHandlingScope.cs
- RelationshipConverter.cs
- PowerModeChangedEventArgs.cs
- ExceptionDetail.cs
- BindingBase.cs
- DPTypeDescriptorContext.cs
- StringCollection.cs
- ProgressBarRenderer.cs
- BindableTemplateBuilder.cs
- ForceCopyBuildProvider.cs
- XPathNodeHelper.cs
- SystemResourceHost.cs
- ParameterExpression.cs
- OdbcCommandBuilder.cs
- TemplatedAdorner.cs
- DeclarativeCatalogPart.cs
- XmlExtensionFunction.cs
- DependencyPropertyConverter.cs
- SevenBitStream.cs
- NativeWrapper.cs
- Roles.cs
- ConsoleKeyInfo.cs
- CSharpCodeProvider.cs
- DesignerObject.cs
- ActivationService.cs
- DesignerDataConnection.cs
- StrokeNode.cs
- DataGridPageChangedEventArgs.cs
- Type.cs
- JournalEntry.cs
- BasePattern.cs
- MemoryMappedViewAccessor.cs
- DataListCommandEventArgs.cs
- RecipientInfo.cs
- CharacterHit.cs
- WebPageTraceListener.cs
- QueryResult.cs
- WmpBitmapDecoder.cs
- PrintPageEvent.cs
- SpeechSynthesizer.cs
- TokenBasedSetEnumerator.cs
- TableStyle.cs
- WasHostedComPlusFactory.cs
- CookieProtection.cs
- lengthconverter.cs
- CustomTypeDescriptor.cs
- ExceptionUtility.cs
- RectangleConverter.cs
- TextEditorLists.cs
- _NtlmClient.cs
- Composition.cs
- ButtonFlatAdapter.cs
- SqlProviderManifest.cs
- EventSinkHelperWriter.cs
- HttpServerUtilityWrapper.cs
- RectIndependentAnimationStorage.cs
- SmiEventSink_DeferedProcessing.cs
- BrowserCapabilitiesCodeGenerator.cs
- CompositeDataBoundControl.cs
- SharedPerformanceCounter.cs
- ContextMarshalException.cs
- CustomPopupPlacement.cs
- HwndSource.cs
- DataControlPagerLinkButton.cs
- ScrollChrome.cs
- ArglessEventHandlerProxy.cs
- TableRow.cs
- IIS7UserPrincipal.cs
- QilBinary.cs
- BufferBuilder.cs
- ResourcePool.cs
- DataGridViewRowsRemovedEventArgs.cs
- RuleProcessor.cs
- AttributeXamlType.cs
- TransactionFlowProperty.cs
- ThousandthOfEmRealPoints.cs
- HttpConfigurationSystem.cs
- AsynchronousChannel.cs
- ConfigPathUtility.cs
- NCryptSafeHandles.cs
- XamlStyleSerializer.cs
- MetafileHeader.cs
- DependencyObject.cs
- SchemaImporterExtensionElement.cs
- MultipleFilterMatchesException.cs
- XmlSchemaInfo.cs
- XmlILOptimizerVisitor.cs
- Stacktrace.cs
- HttpCacheVaryByContentEncodings.cs
- GetLedgerRequest.cs
- NameValueSectionHandler.cs
- AccessControlList.cs
- LocalizationComments.cs
- XmlProcessingInstruction.cs
- WebPartHelpVerb.cs
- StringFormat.cs
- UnsafeNativeMethodsPenimc.cs