Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / ui / RegisteredExpandoAttribute.cs / 1 / RegisteredExpandoAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Security.Permissions; [ AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal), 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ErrorEventArgs.cs
- GregorianCalendarHelper.cs
- FullTextBreakpoint.cs
- NetTcpSecurityElement.cs
- NonClientArea.cs
- WebZone.cs
- Socket.cs
- MissingMethodException.cs
- TaskHelper.cs
- DataSourceXmlSubItemAttribute.cs
- SqlParameterizer.cs
- ValidationHelpers.cs
- LinearQuaternionKeyFrame.cs
- Trace.cs
- XmlRawWriter.cs
- BroadcastEventHelper.cs
- RequestCachePolicyConverter.cs
- HostedHttpRequestAsyncResult.cs
- FlowDocumentScrollViewer.cs
- CodeTypeDelegate.cs
- MenuItemCollection.cs
- UnsafeNativeMethods.cs
- ToolStripDropTargetManager.cs
- MimeBasePart.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- SiteIdentityPermission.cs
- GatewayIPAddressInformationCollection.cs
- X509CertificateValidator.cs
- Point3DAnimationBase.cs
- DataGridViewCellPaintingEventArgs.cs
- TransportContext.cs
- ScrollBar.cs
- FixedSOMTableRow.cs
- SqlClientFactory.cs
- HttpServerUtilityWrapper.cs
- SystemEvents.cs
- OrderToken.cs
- OracleNumber.cs
- Encoding.cs
- OneToOneMappingSerializer.cs
- WarningException.cs
- SessionPageStateSection.cs
- SHA384Managed.cs
- ContextBase.cs
- SiteMapPathDesigner.cs
- UndirectedGraph.cs
- InvocationExpression.cs
- SplineQuaternionKeyFrame.cs
- IsolatedStorage.cs
- DataGridItemEventArgs.cs
- streamingZipPartStream.cs
- OutputCacheModule.cs
- SelectManyQueryOperator.cs
- ListenerConnectionDemuxer.cs
- TreeNodeBindingDepthConverter.cs
- HtmlWindow.cs
- TcpClientCredentialType.cs
- UpdatePanelControlTrigger.cs
- Italic.cs
- ClientScriptManager.cs
- MediaContext.cs
- TextFindEngine.cs
- AutoScrollHelper.cs
- Publisher.cs
- ScrollData.cs
- XamlClipboardData.cs
- DataBindingExpressionBuilder.cs
- IndexOutOfRangeException.cs
- DataComponentMethodGenerator.cs
- TreeNodeSelectionProcessor.cs
- SupportsEventValidationAttribute.cs
- WsdlInspector.cs
- GeometryDrawing.cs
- WindowAutomationPeer.cs
- XslAstAnalyzer.cs
- ConfigurationConverterBase.cs
- CanExecuteRoutedEventArgs.cs
- InputBinder.cs
- MILUtilities.cs
- ElementFactory.cs
- HttpFileCollection.cs
- DataGridViewIntLinkedList.cs
- DataServiceBuildProvider.cs
- FormViewDeletedEventArgs.cs
- NavigationPropertyEmitter.cs
- DesignerRegionCollection.cs
- EffectiveValueEntry.cs
- OlePropertyStructs.cs
- WindowsPrincipal.cs
- HyperLinkColumn.cs
- ConfigUtil.cs
- ValueSerializer.cs
- EntityDataSourceQueryBuilder.cs
- ExpressionPrefixAttribute.cs
- X509CertificateValidator.cs
- StringResourceManager.cs
- HashMembershipCondition.cs
- DurableInstanceProvider.cs
- TdsParameterSetter.cs
- Label.cs