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
- XmlElementAttributes.cs
- Expression.cs
- ListViewSortEventArgs.cs
- UnknownWrapper.cs
- InvalidDataContractException.cs
- DoubleAnimationUsingKeyFrames.cs
- WhileDesigner.xaml.cs
- FormatVersion.cs
- PieceNameHelper.cs
- WinFormsUtils.cs
- Privilege.cs
- SerializableTypeCodeDomSerializer.cs
- SqlFacetAttribute.cs
- ParserStreamGeometryContext.cs
- FixedTextView.cs
- GregorianCalendar.cs
- OdbcUtils.cs
- SHA256.cs
- CodeObjectCreateExpression.cs
- InlineCollection.cs
- CallbackDebugElement.cs
- GPStream.cs
- StaticFileHandler.cs
- ContainerControl.cs
- CustomBindingElement.cs
- contentDescriptor.cs
- ReflectionUtil.cs
- XmlDocumentSerializer.cs
- Quack.cs
- CheckedListBox.cs
- SafeThreadHandle.cs
- CodeExpressionStatement.cs
- StrokeNodeEnumerator.cs
- DynamicResourceExtension.cs
- WebHeaderCollection.cs
- _RequestCacheProtocol.cs
- LocalizableAttribute.cs
- SHA512CryptoServiceProvider.cs
- InvalidDataException.cs
- ConfigurationException.cs
- SqlInternalConnectionSmi.cs
- Tile.cs
- DataGridViewCellValidatingEventArgs.cs
- SemaphoreFullException.cs
- EmbeddedMailObjectsCollection.cs
- ByteAnimation.cs
- ToolStripPanelRow.cs
- SafeLibraryHandle.cs
- SqlSupersetValidator.cs
- AuthenticationServiceManager.cs
- VirtualDirectoryMappingCollection.cs
- LinkUtilities.cs
- ParallelQuery.cs
- DataGridItemEventArgs.cs
- InputProcessorProfilesLoader.cs
- PointLightBase.cs
- ReachDocumentSequenceSerializer.cs
- ActivityXRefPropertyEditor.cs
- FileLogRecordStream.cs
- RichTextBoxConstants.cs
- Profiler.cs
- _NegoState.cs
- Int32Storage.cs
- ListenerAdaptersInstallComponent.cs
- BitmapEffectInput.cs
- BatchParser.cs
- sqlcontext.cs
- PolyLineSegmentFigureLogic.cs
- SafeWaitHandle.cs
- HttpCachePolicyElement.cs
- ExpressionBuilder.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ScriptingSectionGroup.cs
- ObservableCollection.cs
- _CookieModule.cs
- XamlToRtfWriter.cs
- SQLChars.cs
- DataGridViewCellLinkedList.cs
- BufferedWebEventProvider.cs
- TranslateTransform3D.cs
- GrabHandleGlyph.cs
- GeometryCombineModeValidation.cs
- SessionChannels.cs
- IpcChannelHelper.cs
- CommentAction.cs
- CanonicalXml.cs
- XmlException.cs
- TypeToken.cs
- CodeExpressionCollection.cs
- WindowsSysHeader.cs
- ComponentDispatcher.cs
- RtfNavigator.cs
- ResXBuildProvider.cs
- PostBackOptions.cs
- DocumentReference.cs
- Opcode.cs
- CopyAttributesAction.cs
- Matrix.cs
- ApplicationManager.cs
- DispatcherFrame.cs