Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / ComplexPropertyEntry.cs / 1 / ComplexPropertyEntry.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System.Security.Permissions; ////// PropertyEntry for read/write and readonly complex properties /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ComplexPropertyEntry : BuilderPropertyEntry { private bool _readOnly; private bool _isCollectionItem; internal ComplexPropertyEntry() { } internal ComplexPropertyEntry(bool isCollectionItem) { _isCollectionItem = isCollectionItem; } ////// Indicates whether the property is a collection property. /// public bool IsCollectionItem { get { return _isCollectionItem; } } ////// public bool ReadOnly { get { return _readOnly; } set { _readOnly = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System.Security.Permissions; ////// PropertyEntry for read/write and readonly complex properties /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ComplexPropertyEntry : BuilderPropertyEntry { private bool _readOnly; private bool _isCollectionItem; internal ComplexPropertyEntry() { } internal ComplexPropertyEntry(bool isCollectionItem) { _isCollectionItem = isCollectionItem; } ////// Indicates whether the property is a collection property. /// public bool IsCollectionItem { get { return _isCollectionItem; } } ////// public bool ReadOnly { get { return _readOnly; } set { _readOnly = value; } } } } // 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
- SoapMessage.cs
- DataGridViewBindingCompleteEventArgs.cs
- InsufficientMemoryException.cs
- LongValidatorAttribute.cs
- AssemblyCacheEntry.cs
- KerberosSecurityTokenParameters.cs
- BrowserCapabilitiesCodeGenerator.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- MultipartContentParser.cs
- WebPartCatalogAddVerb.cs
- XmlLinkedNode.cs
- MdiWindowListItemConverter.cs
- QueryContinueDragEventArgs.cs
- DataGridViewButtonCell.cs
- XmlAnyElementAttribute.cs
- AutoGeneratedField.cs
- TextParagraphCache.cs
- DragStartedEventArgs.cs
- BmpBitmapEncoder.cs
- EntityWrapper.cs
- EntityContainer.cs
- IgnoreDataMemberAttribute.cs
- MenuRendererClassic.cs
- AutomationPatternInfo.cs
- ToolStripSplitStackLayout.cs
- SrgsSemanticInterpretationTag.cs
- Pair.cs
- Point3DValueSerializer.cs
- BoolExpressionVisitors.cs
- ValueQuery.cs
- ObjectDataSourceView.cs
- TextServicesDisplayAttribute.cs
- EventMemberCodeDomSerializer.cs
- RegistrationServices.cs
- LogAppendAsyncResult.cs
- StreamInfo.cs
- SerialReceived.cs
- IndexedGlyphRun.cs
- GB18030Encoding.cs
- SizeValueSerializer.cs
- StrongNameKeyPair.cs
- MembershipUser.cs
- GridViewCancelEditEventArgs.cs
- ColorAnimationUsingKeyFrames.cs
- AttachedPropertyMethodSelector.cs
- Msec.cs
- DependencyObject.cs
- Int64.cs
- Point3DKeyFrameCollection.cs
- dbenumerator.cs
- HtmlLink.cs
- DirectoryInfo.cs
- WsatAdminException.cs
- XsdValidatingReader.cs
- StylusPoint.cs
- ObjectListSelectEventArgs.cs
- InvalidDataException.cs
- XmlSchemaType.cs
- xmlsaver.cs
- Int32RectConverter.cs
- SQLInt16.cs
- PbrsForward.cs
- Compress.cs
- CaseInsensitiveHashCodeProvider.cs
- ComponentGlyph.cs
- ObjectCloneHelper.cs
- OperatingSystem.cs
- SemaphoreFullException.cs
- OrderedDictionary.cs
- NavigationHelper.cs
- IteratorDescriptor.cs
- Help.cs
- PingReply.cs
- Error.cs
- InstancePersistenceCommandException.cs
- ProfilePropertyMetadata.cs
- ButtonBase.cs
- QueryAccessibilityHelpEvent.cs
- BindingExpression.cs
- IntPtr.cs
- ItemList.cs
- HealthMonitoringSectionHelper.cs
- __ComObject.cs
- KeyboardNavigation.cs
- CombinedGeometry.cs
- OrderedParallelQuery.cs
- LinqDataSourceView.cs
- BulletChrome.cs
- HostUtils.cs
- SafeFindHandle.cs
- RequestCache.cs
- BufferedGraphics.cs
- FaultContext.cs
- SlipBehavior.cs
- FileStream.cs
- SqlFileStream.cs
- UrlRoutingModule.cs
- BatchServiceHost.cs
- ProcessStartInfo.cs
- XPathNode.cs