Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ConfigXmlText.cs
- LogWriteRestartAreaState.cs
- XmlSerializerSection.cs
- HMACSHA1.cs
- ClonableStack.cs
- ProfileEventArgs.cs
- GroupBox.cs
- ObjectStateEntryDbDataRecord.cs
- shaperfactoryquerycacheentry.cs
- CopyCodeAction.cs
- SequenceNumber.cs
- BaseDataListPage.cs
- FontStretch.cs
- CustomError.cs
- UndoManager.cs
- StringPropertyBuilder.cs
- HttpProfileGroupBase.cs
- DataGridViewColumnCollection.cs
- ComponentConverter.cs
- Parameter.cs
- PackageRelationshipSelector.cs
- SystemThemeKey.cs
- SymLanguageType.cs
- IdentityReference.cs
- PropertyPathConverter.cs
- SQLGuid.cs
- ImportCatalogPart.cs
- CssTextWriter.cs
- MiniMapControl.xaml.cs
- StorageEntityTypeMapping.cs
- QilStrConcatenator.cs
- AbstractDataSvcMapFileLoader.cs
- TriState.cs
- SqlPersonalizationProvider.cs
- PeerPresenceInfo.cs
- Char.cs
- FixedSOMSemanticBox.cs
- ContainerFilterService.cs
- DataTemplateSelector.cs
- Type.cs
- MyContact.cs
- BevelBitmapEffect.cs
- DataGridViewRowPrePaintEventArgs.cs
- HttpCacheVaryByContentEncodings.cs
- MatrixAnimationBase.cs
- BitmapFrameEncode.cs
- NativeCompoundFileAPIs.cs
- LayoutEvent.cs
- SourceFilter.cs
- DataServiceRequest.cs
- ActiveXSite.cs
- TextTabProperties.cs
- RetriableClipboard.cs
- StreamingContext.cs
- FragmentQueryKB.cs
- latinshape.cs
- SelectionProcessor.cs
- Base64Encoding.cs
- GridViewColumn.cs
- ProcessModelInfo.cs
- StructuralObject.cs
- ISAPIRuntime.cs
- PerspectiveCamera.cs
- ProxyWebPart.cs
- PkcsUtils.cs
- ButtonBase.cs
- VirtualizedItemProviderWrapper.cs
- CatalogPartDesigner.cs
- TextContainerChangeEventArgs.cs
- GridViewCommandEventArgs.cs
- Cursor.cs
- OpCodes.cs
- LinqDataSourceInsertEventArgs.cs
- GridViewUpdateEventArgs.cs
- Ref.cs
- ConfigurationValues.cs
- PropertyInfoSet.cs
- XmlSchemaComplexContentExtension.cs
- DataMemberAttribute.cs
- DeclarativeCatalogPart.cs
- JavaScriptString.cs
- AliasedSlot.cs
- PrintingPermission.cs
- processwaithandle.cs
- SqlUnionizer.cs
- EventListenerClientSide.cs
- SqlServer2KCompatibilityAnnotation.cs
- NumericUpDownAccelerationCollection.cs
- ProxyWebPart.cs
- SQLRoleProvider.cs
- ShaderEffect.cs
- UndirectedGraph.cs
- ComponentSerializationService.cs
- Int32AnimationUsingKeyFrames.cs
- DataGridViewButtonCell.cs
- ValidationEventArgs.cs
- EventProviderWriter.cs
- MruCache.cs
- DataColumn.cs
- ButtonColumn.cs