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
- __TransparentProxy.cs
- OdbcDataAdapter.cs
- BinaryMethodMessage.cs
- SchemaEntity.cs
- SmtpFailedRecipientsException.cs
- __ConsoleStream.cs
- EventHandlersStore.cs
- PostBackOptions.cs
- FtpWebResponse.cs
- DashStyle.cs
- PrtCap_Reader.cs
- WindowsFormsSectionHandler.cs
- BinaryReader.cs
- FontFaceLayoutInfo.cs
- DataGridViewRowCollection.cs
- UnmanagedMemoryStreamWrapper.cs
- GlyphRun.cs
- SchemaCreator.cs
- XmlLanguageConverter.cs
- xmlglyphRunInfo.cs
- MetadataPropertyCollection.cs
- ResponseStream.cs
- ToolBar.cs
- FilterElement.cs
- DbProviderManifest.cs
- RubberbandSelector.cs
- HierarchicalDataSourceControl.cs
- WebProxyScriptElement.cs
- InvalidEnumArgumentException.cs
- HtmlSelect.cs
- XmlSchemaAttributeGroupRef.cs
- MessagePartSpecification.cs
- Codec.cs
- SystemParameters.cs
- SortKey.cs
- PowerStatus.cs
- StaticSiteMapProvider.cs
- HtmlTable.cs
- RandomNumberGenerator.cs
- TabControlEvent.cs
- TreeView.cs
- WeakEventManager.cs
- ReflectionUtil.cs
- Camera.cs
- ProfileSection.cs
- ScrollChrome.cs
- HtmlInputButton.cs
- BufferedGenericXmlSecurityToken.cs
- RegexTree.cs
- ServicePointManagerElement.cs
- SoapReflector.cs
- ObjectDataSourceView.cs
- ApplicationCommands.cs
- FixedNode.cs
- TogglePatternIdentifiers.cs
- messageonlyhwndwrapper.cs
- RedirectionProxy.cs
- RoutedCommand.cs
- EmptyElement.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- FrameworkElement.cs
- WaveHeader.cs
- _OverlappedAsyncResult.cs
- Zone.cs
- StrokeNodeEnumerator.cs
- Stylus.cs
- XmlSchemaSimpleContent.cs
- ComplexObject.cs
- KeyGestureConverter.cs
- DataGridTable.cs
- PropertyItem.cs
- Queue.cs
- securitycriticaldata.cs
- DataObjectAttribute.cs
- BinaryMethodMessage.cs
- GeometryCollection.cs
- PeerApplication.cs
- AppDomainFactory.cs
- HttpHandlerAction.cs
- MailSettingsSection.cs
- BoundingRectTracker.cs
- WebBrowserHelper.cs
- ScrollProperties.cs
- Annotation.cs
- BinaryObjectInfo.cs
- BStrWrapper.cs
- safesecurityhelperavalon.cs
- XmlEntityReference.cs
- SqlDataSourceCommandEventArgs.cs
- FixedTextBuilder.cs
- InkCollectionBehavior.cs
- RevocationPoint.cs
- FastPropertyAccessor.cs
- D3DImage.cs
- WebScriptMetadataFormatter.cs
- ScrollContentPresenter.cs
- XmlSchemaImport.cs
- Registration.cs
- Package.cs
- Operator.cs