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
- HelpOperationInvoker.cs
- TraversalRequest.cs
- ProcessStartInfo.cs
- IisHelper.cs
- EndpointAddressMessageFilterTable.cs
- PathFigure.cs
- IdentityVerifier.cs
- PreparingEnlistment.cs
- TextContainerChangedEventArgs.cs
- XmlEncodedRawTextWriter.cs
- MessageBox.cs
- TreeNodeBinding.cs
- TabControlAutomationPeer.cs
- fixedPageContentExtractor.cs
- ValueType.cs
- AdPostCacheSubstitution.cs
- IgnoreSection.cs
- WebBrowserUriTypeConverter.cs
- SqlDataSourceFilteringEventArgs.cs
- SoapServerProtocol.cs
- Activity.cs
- ExceptionHandlerDesigner.cs
- Int32CollectionConverter.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- Header.cs
- DataGridViewToolTip.cs
- ReliableSessionElement.cs
- BitStream.cs
- RequestedSignatureDialog.cs
- OptimalBreakSession.cs
- CallbackHandler.cs
- BuildProvidersCompiler.cs
- ActiveDocumentEvent.cs
- ReadOnlyPermissionSet.cs
- ApplicationFileCodeDomTreeGenerator.cs
- CancellationTokenSource.cs
- UpdatePanelTriggerCollection.cs
- KoreanCalendar.cs
- DataObject.cs
- ProcessHostFactoryHelper.cs
- QueryReaderSettings.cs
- BitStack.cs
- Formatter.cs
- DateTimeOffsetConverter.cs
- Composition.cs
- FieldDescriptor.cs
- SecurityUtils.cs
- InternalRelationshipCollection.cs
- CodeDOMUtility.cs
- DrawListViewSubItemEventArgs.cs
- Transform.cs
- unsafeIndexingFilterStream.cs
- XsdDataContractImporter.cs
- JournalEntryStack.cs
- MetadataSerializer.cs
- PageSetupDialog.cs
- WindowsTooltip.cs
- Int32CollectionConverter.cs
- CellParagraph.cs
- LogExtent.cs
- SharedPersonalizationStateInfo.cs
- CommandBinding.cs
- DateRangeEvent.cs
- CodeCompiler.cs
- UInt64Storage.cs
- InputReferenceExpression.cs
- InteropTrackingRecord.cs
- DataGridViewCellStyle.cs
- SharedPersonalizationStateInfo.cs
- BooleanProjectedSlot.cs
- FixedTextView.cs
- DateTimeParse.cs
- RequestCacheEntry.cs
- WebBrowsableAttribute.cs
- QilXmlWriter.cs
- BindingGroup.cs
- EventListenerClientSide.cs
- RowUpdatingEventArgs.cs
- CLSCompliantAttribute.cs
- Stopwatch.cs
- TemplateField.cs
- ReaderWriterLockWrapper.cs
- SqlDeflator.cs
- Timeline.cs
- GridViewColumnHeaderAutomationPeer.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- Rules.cs
- VBIdentifierDesigner.xaml.cs
- PathFigureCollection.cs
- BounceEase.cs
- BitmapScalingModeValidation.cs
- QilVisitor.cs
- ContextTokenTypeConverter.cs
- SapiAttributeParser.cs
- SerializerWriterEventHandlers.cs
- CoreSwitches.cs
- CfgParser.cs
- ComponentCommands.cs
- MimeTextImporter.cs
- DBParameter.cs