Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ExpressionBuilder.cs
- XmlTextReaderImplHelpers.cs
- NetStream.cs
- SuppressMessageAttribute.cs
- ClientOptions.cs
- ButtonPopupAdapter.cs
- Line.cs
- PrivateFontCollection.cs
- ApplicationFileCodeDomTreeGenerator.cs
- EdmProperty.cs
- EntitySqlQueryCacheEntry.cs
- CustomCredentialPolicy.cs
- PeerNameRegistration.cs
- SqlProcedureAttribute.cs
- _AcceptOverlappedAsyncResult.cs
- WorkflowDataContext.cs
- COM2ColorConverter.cs
- FilterQuery.cs
- ComboBoxAutomationPeer.cs
- SqlConnectionStringBuilder.cs
- Win32KeyboardDevice.cs
- TagMapCollection.cs
- TypeElementCollection.cs
- EntityDataSourceDataSelectionPanel.cs
- OrderedDictionary.cs
- DataBindingCollectionEditor.cs
- Util.cs
- FormClosedEvent.cs
- TraceUtility.cs
- ObjectDataSourceFilteringEventArgs.cs
- StandardBindingElementCollection.cs
- SettingsPropertyIsReadOnlyException.cs
- InfoCardCryptoHelper.cs
- ICollection.cs
- HtmlLiteralTextAdapter.cs
- XmlValueConverter.cs
- FacetChecker.cs
- SchemaSetCompiler.cs
- RuntimeCompatibilityAttribute.cs
- ErrorProvider.cs
- StructuredTypeEmitter.cs
- _ListenerRequestStream.cs
- DataFormats.cs
- SwitchExpression.cs
- PropertyRef.cs
- ControlCachePolicy.cs
- TCPClient.cs
- GeneratedView.cs
- TableProvider.cs
- TreeNodeEventArgs.cs
- ValueUtilsSmi.cs
- ResolveDuplex11AsyncResult.cs
- SafeHandles.cs
- DataGridViewToolTip.cs
- LocalizabilityAttribute.cs
- SizeConverter.cs
- CodeDOMUtility.cs
- RuleSettingsCollection.cs
- Dispatcher.cs
- DataGridViewHeaderCell.cs
- ProcessHostConfigUtils.cs
- SignedPkcs7.cs
- ColumnWidthChangingEvent.cs
- WebConfigurationManager.cs
- Switch.cs
- DocobjHost.cs
- URL.cs
- Win32NamedPipes.cs
- MonitoringDescriptionAttribute.cs
- Assembly.cs
- ListSurrogate.cs
- HtmlMeta.cs
- DesignerWidgets.cs
- XMLSyntaxException.cs
- nulltextcontainer.cs
- SqlComparer.cs
- StringFunctions.cs
- XmlSerializationGeneratedCode.cs
- Vector.cs
- ConnectionPoint.cs
- GridViewUpdateEventArgs.cs
- OdbcException.cs
- AssemblyInfo.cs
- TrackBarRenderer.cs
- ButtonBaseDesigner.cs
- XmlWrappingReader.cs
- SerTrace.cs
- iisPickupDirectory.cs
- Odbc32.cs
- ObjectKeyFrameCollection.cs
- DataGridItemCollection.cs
- DocumentViewerConstants.cs
- SEHException.cs
- WindowsFont.cs
- RowToFieldTransformer.cs
- CategoryState.cs
- TraceListener.cs
- SchemaNotation.cs
- OptimalBreakSession.cs
- SqlCommand.cs