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
- CodeAccessPermission.cs
- LiteralText.cs
- CellTreeNode.cs
- Message.cs
- NonceToken.cs
- BitmapCodecInfoInternal.cs
- DataComponentMethodGenerator.cs
- UnaryNode.cs
- Conditional.cs
- formatter.cs
- TranslateTransform.cs
- ServiceDesigner.xaml.cs
- UserControlCodeDomTreeGenerator.cs
- UnsafeNativeMethods.cs
- TemplatedAdorner.cs
- SrgsToken.cs
- WebPartDisplayModeCollection.cs
- TextControlDesigner.cs
- MultipleViewPattern.cs
- HandlerFactoryWrapper.cs
- SizeConverter.cs
- ResourceFallbackManager.cs
- LogicalExpressionEditor.cs
- EntityParameterCollection.cs
- TextPointer.cs
- LogExtentCollection.cs
- MenuBase.cs
- XmlDictionaryWriter.cs
- AnnotationComponentChooser.cs
- VariantWrapper.cs
- SqlCacheDependencySection.cs
- WebPartDesigner.cs
- TemplatedControlDesigner.cs
- CharacterMetricsDictionary.cs
- HtmlContainerControl.cs
- ConfigXmlElement.cs
- EventProviderTraceListener.cs
- WsatAdminException.cs
- TextServicesHost.cs
- CmsInterop.cs
- DetailsViewRowCollection.cs
- SelectionItemPattern.cs
- ContentValidator.cs
- LogicalChannelCollection.cs
- Vector3DAnimationBase.cs
- CssTextWriter.cs
- DPCustomTypeDescriptor.cs
- DashStyle.cs
- LoginCancelEventArgs.cs
- URL.cs
- CorrelationManager.cs
- SchemaConstraints.cs
- Boolean.cs
- Tag.cs
- ConnectionStringSettings.cs
- LoginName.cs
- GlobalItem.cs
- NetSectionGroup.cs
- CodeExpressionStatement.cs
- ResourcesBuildProvider.cs
- StatusBarPanelClickEvent.cs
- SelectorItemAutomationPeer.cs
- LocatorManager.cs
- BrushValueSerializer.cs
- WebControlParameterProxy.cs
- ArglessEventHandlerProxy.cs
- ListManagerBindingsCollection.cs
- NominalTypeEliminator.cs
- PointLight.cs
- HttpListenerResponse.cs
- Application.cs
- SqlCacheDependencyDatabase.cs
- ImmutableCollection.cs
- WriteLineDesigner.xaml.cs
- __ComObject.cs
- MenuItemCollection.cs
- AuthenticationServiceManager.cs
- TransactionBehavior.cs
- ToolStripContainer.cs
- BamlBinaryWriter.cs
- RequestTimeoutManager.cs
- DocumentOrderComparer.cs
- CompositeActivityCodeGenerator.cs
- SafeRightsManagementQueryHandle.cs
- ComplexPropertyEntry.cs
- CaseInsensitiveComparer.cs
- EventLogger.cs
- FixUp.cs
- UserControlBuildProvider.cs
- FixedFlowMap.cs
- PrintPageEvent.cs
- GridViewRowPresenter.cs
- WindowShowOrOpenTracker.cs
- ParseNumbers.cs
- Rect3D.cs
- SecurityCriticalDataForSet.cs
- SqlDataRecord.cs
- SapiRecognizer.cs
- DataServiceBehavior.cs
- RootBuilder.cs