Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / PropertyEntry.cs / 1 / PropertyEntry.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System.Reflection; using System.Security.Permissions; ////// Base class for all PropertyEntries. /// /// PropertyEntry /// BoundPropertyEntry /// BuilderPropertyEntry /// ComplexPropertyEntry /// TemplatePropertyEntry /// SimplePropertyEntry /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public abstract class PropertyEntry { private string _filter; private PropertyInfo _propertyInfo; private string _name; private Type _type; private int _index; private int _order; internal PropertyEntry() { } ////// public string Filter { get { return _filter; } set { _filter = value; } } // The order of the entry that needs to be sorted. internal int Order { get { return _order; } set { _order = value; } } // The index of the entry declared in persisted format. internal int Index { get { return _index; } set { _index = value; } } ////// public PropertyInfo PropertyInfo { get { return _propertyInfo; } set { _propertyInfo = value; } } ////// public string Name { get { return _name; } set { _name = value; } } ////// public Type Type { get { return _type; } set { _type = value; } } ////// public Type DeclaringType { get { if (_propertyInfo == null) return null; return _propertyInfo.DeclaringType; } } } } // 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.Reflection; using System.Security.Permissions; ////// Base class for all PropertyEntries. /// /// PropertyEntry /// BoundPropertyEntry /// BuilderPropertyEntry /// ComplexPropertyEntry /// TemplatePropertyEntry /// SimplePropertyEntry /// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public abstract class PropertyEntry { private string _filter; private PropertyInfo _propertyInfo; private string _name; private Type _type; private int _index; private int _order; internal PropertyEntry() { } ////// public string Filter { get { return _filter; } set { _filter = value; } } // The order of the entry that needs to be sorted. internal int Order { get { return _order; } set { _order = value; } } // The index of the entry declared in persisted format. internal int Index { get { return _index; } set { _index = value; } } ////// public PropertyInfo PropertyInfo { get { return _propertyInfo; } set { _propertyInfo = value; } } ////// public string Name { get { return _name; } set { _name = value; } } ////// public Type Type { get { return _type; } set { _type = value; } } ////// public Type DeclaringType { get { if (_propertyInfo == null) return null; return _propertyInfo.DeclaringType; } } } } // 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
- FieldDescriptor.cs
- DeflateEmulationStream.cs
- CodeTypeReferenceExpression.cs
- TableItemProviderWrapper.cs
- GroupQuery.cs
- SqlRemoveConstantOrderBy.cs
- EncodingDataItem.cs
- CustomAttributeFormatException.cs
- TextBox.cs
- ListBindingHelper.cs
- FieldCollectionEditor.cs
- UIntPtr.cs
- SubpageParagraph.cs
- TileModeValidation.cs
- X500Name.cs
- RolePrincipal.cs
- QueryRewriter.cs
- DataControlImageButton.cs
- RichTextBoxAutomationPeer.cs
- ToolboxItemWrapper.cs
- OperationInvokerBehavior.cs
- GridEntry.cs
- DataGridViewRowStateChangedEventArgs.cs
- DataTableTypeConverter.cs
- ExtendedPropertyDescriptor.cs
- DbCommandTree.cs
- RegexCompiler.cs
- MenuItem.cs
- CommandHelpers.cs
- DbConnectionHelper.cs
- TextBreakpoint.cs
- CfgRule.cs
- DataFormats.cs
- DeferredTextReference.cs
- WebServiceParameterData.cs
- EntityDataSourceMemberPath.cs
- UnwrappedTypesXmlSerializerManager.cs
- ViewKeyConstraint.cs
- TableLayoutColumnStyleCollection.cs
- XmlEncoding.cs
- ProgressBar.cs
- StrokeNodeOperations2.cs
- IisTraceListener.cs
- ReadWriteObjectLock.cs
- Image.cs
- CancelEventArgs.cs
- MultipartContentParser.cs
- RayHitTestParameters.cs
- Variant.cs
- EncoderReplacementFallback.cs
- EventLogQuery.cs
- CapabilitiesRule.cs
- TableLayoutStyle.cs
- CodeSubDirectory.cs
- EntityCommandDefinition.cs
- ItemTypeToolStripMenuItem.cs
- ResourceManager.cs
- SimpleHandlerFactory.cs
- AppDomainCompilerProxy.cs
- HashHelpers.cs
- EntityViewGenerationAttribute.cs
- BasePropertyDescriptor.cs
- AllMembershipCondition.cs
- ProjectionCamera.cs
- HttpListenerContext.cs
- AttachedAnnotationChangedEventArgs.cs
- Configuration.cs
- Part.cs
- ConstructorBuilder.cs
- SQLRoleProvider.cs
- HttpWriter.cs
- counter.cs
- sqlstateclientmanager.cs
- DesignerDataColumn.cs
- RectangleGeometry.cs
- ReachPrintTicketSerializerAsync.cs
- XmlSchemaAny.cs
- ScrollEvent.cs
- SqlTransaction.cs
- NativeMethods.cs
- TypeDependencyAttribute.cs
- WebPartsSection.cs
- DataRecordObjectView.cs
- NotFiniteNumberException.cs
- HtmlSelect.cs
- OpenFileDialog.cs
- BlockCollection.cs
- ToolZone.cs
- ConsumerConnectionPoint.cs
- Int32KeyFrameCollection.cs
- UserNamePasswordValidator.cs
- TraceInternal.cs
- WebPartZone.cs
- StrokeCollectionDefaultValueFactory.cs
- X509IssuerSerialKeyIdentifierClause.cs
- ConfigurationErrorsException.cs
- Qualifier.cs
- SymmetricAlgorithm.cs
- GregorianCalendarHelper.cs
- SelectingProviderEventArgs.cs