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
- XmlMemberMapping.cs
- input.cs
- IisTraceWebEventProvider.cs
- EDesignUtil.cs
- TimeSpanConverter.cs
- DBConnection.cs
- FormsAuthenticationModule.cs
- ToolboxItem.cs
- SystemIPGlobalStatistics.cs
- DynamicRouteExpression.cs
- ClickablePoint.cs
- EncoderExceptionFallback.cs
- UnmanagedMemoryStream.cs
- PropertyGridCommands.cs
- ClientRoleProvider.cs
- ToolStripRenderEventArgs.cs
- XPathPatternParser.cs
- CfgParser.cs
- ViewService.cs
- TypeSystem.cs
- TableLayoutRowStyleCollection.cs
- CombinedTcpChannel.cs
- PrintPreviewControl.cs
- EventLogPermissionEntryCollection.cs
- SettingsPropertyValue.cs
- GraphicsState.cs
- DbProviderSpecificTypePropertyAttribute.cs
- MatrixTransform3D.cs
- LayoutManager.cs
- ControlTemplate.cs
- CrossSiteScriptingValidation.cs
- MouseOverProperty.cs
- VariableBinder.cs
- SynchronizingStream.cs
- SessionStateUtil.cs
- MergeExecutor.cs
- CodeParameterDeclarationExpression.cs
- _Semaphore.cs
- ArrowControl.xaml.cs
- VisualBrush.cs
- TypeBinaryExpression.cs
- ClientRuntime.cs
- DataBindingCollection.cs
- ConfigXmlComment.cs
- CustomServiceCredentials.cs
- MenuItemBindingCollection.cs
- ObjectViewEntityCollectionData.cs
- ProcessStartInfo.cs
- CodeArgumentReferenceExpression.cs
- SwitchAttribute.cs
- ExpressionValueEditor.cs
- CacheMemory.cs
- TextBox.cs
- SourceCollection.cs
- ErrorWebPart.cs
- SizeChangedInfo.cs
- FactoryRecord.cs
- PropertyItemInternal.cs
- ContainerActivationHelper.cs
- PrePostDescendentsWalker.cs
- TabPage.cs
- DataBindingCollection.cs
- LinkArea.cs
- XmlUtil.cs
- FileLevelControlBuilderAttribute.cs
- WSHttpSecurityElement.cs
- NativeMethods.cs
- FilterQuery.cs
- HtmlTableCell.cs
- JoinTreeSlot.cs
- PassportAuthentication.cs
- EndpointAddressElementBase.cs
- TextAnchor.cs
- FlatButtonAppearance.cs
- DriveNotFoundException.cs
- WindowsGraphics.cs
- Interop.cs
- InfoCardService.cs
- AsymmetricAlgorithm.cs
- XamlTypeMapper.cs
- ListMarkerLine.cs
- XmlSchemaParticle.cs
- ActiveDesignSurfaceEvent.cs
- RectangleF.cs
- SemanticAnalyzer.cs
- TransformGroup.cs
- IteratorFilter.cs
- StylusOverProperty.cs
- ProxySimple.cs
- ConstructorNeedsTagAttribute.cs
- SafeSystemMetrics.cs
- Aggregates.cs
- TrackingProfile.cs
- ServiceModelConfiguration.cs
- ToolStripPanelCell.cs
- GroupLabel.cs
- _NegoStream.cs
- XmlIgnoreAttribute.cs
- VisualStyleTypesAndProperties.cs
- InputQueueChannel.cs