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
- FrameworkEventSource.cs
- VirtualizedCellInfoCollection.cs
- ReadOnlyDataSourceView.cs
- MetadataArtifactLoaderCompositeFile.cs
- EmbeddedMailObject.cs
- RenderDataDrawingContext.cs
- TextFormatter.cs
- AttachedPropertyBrowsableAttribute.cs
- IntSecurity.cs
- ExplicitDiscriminatorMap.cs
- InterleavedZipPartStream.cs
- FontFamilyIdentifier.cs
- RowTypePropertyElement.cs
- WebPartUtil.cs
- JulianCalendar.cs
- WindowsListViewSubItem.cs
- XmlFormatExtensionPrefixAttribute.cs
- VirtualPathUtility.cs
- HttpEncoder.cs
- HtmlForm.cs
- UInt32.cs
- StringDictionary.cs
- EditorZoneBase.cs
- CountdownEvent.cs
- RIPEMD160.cs
- FormatterConverter.cs
- DBCommandBuilder.cs
- LinqDataSourceView.cs
- X509SecurityToken.cs
- ServiceHttpHandlerFactory.cs
- OperatorExpressions.cs
- RectAnimationBase.cs
- ActivityInterfaces.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- Size3D.cs
- SmtpDateTime.cs
- CanonicalFontFamilyReference.cs
- XamlRtfConverter.cs
- JournalEntryListConverter.cs
- AutoSizeComboBox.cs
- DoWorkEventArgs.cs
- ChannelDemuxer.cs
- AffineTransform3D.cs
- IssuedTokenClientBehaviorsElement.cs
- DataViewListener.cs
- ObjectManager.cs
- TextEditorTables.cs
- PropertyCondition.cs
- ImageAttributes.cs
- CodeDomDesignerLoader.cs
- SynchronizationContext.cs
- WorkflowEventArgs.cs
- CryptoApi.cs
- EraserBehavior.cs
- EntityException.cs
- DispatcherOperation.cs
- Stylesheet.cs
- CacheRequest.cs
- InstanceNameConverter.cs
- GlyphCache.cs
- Propagator.Evaluator.cs
- StoreItemCollection.Loader.cs
- WebPartMenuStyle.cs
- SecurityTokenProviderContainer.cs
- StrokeCollectionConverter.cs
- SRDisplayNameAttribute.cs
- Delegate.cs
- ButtonBaseDesigner.cs
- DependencySource.cs
- TextPointerBase.cs
- DataGridHelper.cs
- FixedSOMSemanticBox.cs
- PreviewPageInfo.cs
- TemplateBuilder.cs
- RegexCaptureCollection.cs
- ConcurrentQueue.cs
- ZipIOBlockManager.cs
- XmlReaderSettings.cs
- DeviceSpecificChoiceCollection.cs
- SQLDouble.cs
- InputLanguageProfileNotifySink.cs
- FontClient.cs
- Directory.cs
- SafeArchiveContext.cs
- GeneralTransform.cs
- ContainerFilterService.cs
- BaseProcessProtocolHandler.cs
- DataGridPagerStyle.cs
- Wow64ConfigurationLoader.cs
- ThumbButtonInfoCollection.cs
- TableLayoutSettings.cs
- DocumentOrderComparer.cs
- PrintEvent.cs
- WorkflowOperationAsyncResult.cs
- WebServiceTypeData.cs
- Page.cs
- ThreadPool.cs
- objectquery_tresulttype.cs
- FixedPage.cs
- BitmapFrameDecode.cs