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
- OleDbParameterCollection.cs
- __TransparentProxy.cs
- HtmlInputFile.cs
- RoutedEventValueSerializer.cs
- DeviceContext.cs
- sitestring.cs
- GlobalizationAssembly.cs
- ExponentialEase.cs
- GlyphRunDrawing.cs
- DuplicateWaitObjectException.cs
- CatalogPart.cs
- OnOperation.cs
- Aggregates.cs
- ObjectDataSourceMethodEventArgs.cs
- OracleInternalConnection.cs
- TextInfo.cs
- StylusOverProperty.cs
- FactoryGenerator.cs
- SnapshotChangeTrackingStrategy.cs
- TitleStyle.cs
- ConvertersCollection.cs
- Trace.cs
- MobileUserControl.cs
- VirtualDirectoryMappingCollection.cs
- SettingsPropertyNotFoundException.cs
- TextTreeInsertElementUndoUnit.cs
- ScrollItemPattern.cs
- XPathDocumentIterator.cs
- ContextDataSourceContextData.cs
- WebRequestModulesSection.cs
- DataGridState.cs
- QueryCacheKey.cs
- HttpDictionary.cs
- OAVariantLib.cs
- MediaElement.cs
- WebEncodingValidator.cs
- CodeDirectoryCompiler.cs
- VBIdentifierName.cs
- CodeDomConfigurationHandler.cs
- ContentDisposition.cs
- DrawingContextWalker.cs
- NetworkCredential.cs
- mediaeventshelper.cs
- DataServiceRequestException.cs
- ModelItemCollection.cs
- EnumValAlphaComparer.cs
- SqlFileStream.cs
- hwndwrapper.cs
- SoapTypeAttribute.cs
- XmlUtil.cs
- CompiledRegexRunner.cs
- ClockGroup.cs
- InfoCardSymmetricAlgorithm.cs
- WebBrowserPermission.cs
- NonBatchDirectoryCompiler.cs
- SendKeys.cs
- ListDictionary.cs
- XmlUtil.cs
- LocalValueEnumerator.cs
- ListViewCancelEventArgs.cs
- ChangeInterceptorAttribute.cs
- ProviderCollection.cs
- PrePrepareMethodAttribute.cs
- ControlIdConverter.cs
- SqlUserDefinedAggregateAttribute.cs
- FamilyMap.cs
- UnmanagedBitmapWrapper.cs
- ModelUtilities.cs
- ShapingWorkspace.cs
- xmlsaver.cs
- FileNotFoundException.cs
- AppSettingsExpressionBuilder.cs
- GeneratedContractType.cs
- ObsoleteAttribute.cs
- _NtlmClient.cs
- DataGridViewRow.cs
- TransportConfigurationTypeElementCollection.cs
- SqlDependencyListener.cs
- NonClientArea.cs
- PropertyChangedEventArgs.cs
- Buffer.cs
- ListItemCollection.cs
- CaseCqlBlock.cs
- AppSettingsExpressionBuilder.cs
- EditBehavior.cs
- DataObjectPastingEventArgs.cs
- DependencyObjectValidator.cs
- ExpressionDumper.cs
- ConsumerConnectionPoint.cs
- RoleServiceManager.cs
- ActivityPreviewDesigner.cs
- SiteMapNodeItem.cs
- RegisteredScript.cs
- AnnotationAdorner.cs
- FileUtil.cs
- KeyConverter.cs
- TrustSection.cs
- ContentControl.cs
- Polyline.cs
- NativeMethods.cs