Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RsaKeyIdentifierClause.cs
- ThrowHelper.cs
- ImageConverter.cs
- WindowsListViewGroupHelper.cs
- SharedStream.cs
- ItemsPresenter.cs
- CodeGen.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- Overlapped.cs
- EncoderParameters.cs
- SvcMapFileSerializer.cs
- SqlDataSourceView.cs
- InstanceLockException.cs
- XslCompiledTransform.cs
- LineMetrics.cs
- TypeValidationEventArgs.cs
- FrameworkReadOnlyPropertyMetadata.cs
- SQLResource.cs
- WebPartMenuStyle.cs
- WhitespaceRuleReader.cs
- WindowsAuthenticationEventArgs.cs
- PrivateFontCollection.cs
- WrappedIUnknown.cs
- ErrorProvider.cs
- ListItemCollection.cs
- HtmlInputButton.cs
- EventDescriptor.cs
- GridViewRowPresenter.cs
- DSACryptoServiceProvider.cs
- _ConnectStream.cs
- WebResourceUtil.cs
- XmlElementElement.cs
- DBProviderConfigurationHandler.cs
- ClockGroup.cs
- X509Utils.cs
- DictionaryCustomTypeDescriptor.cs
- StringArrayConverter.cs
- IPHostEntry.cs
- XmlDocumentType.cs
- DataGridColumn.cs
- RowUpdatedEventArgs.cs
- TextPointerBase.cs
- InkCanvasSelection.cs
- SqlMethods.cs
- DataTemplateKey.cs
- ControlCachePolicy.cs
- LiteralControl.cs
- Grant.cs
- ThreadPool.cs
- InputBuffer.cs
- BmpBitmapEncoder.cs
- TemplateField.cs
- NamespaceDisplay.xaml.cs
- DtdParser.cs
- DockPatternIdentifiers.cs
- HtmlWindow.cs
- SiteMapNode.cs
- OptionalColumn.cs
- AssociationSet.cs
- SpecialTypeDataContract.cs
- XmlStringTable.cs
- NativeMethods.cs
- formatter.cs
- basenumberconverter.cs
- SystemSounds.cs
- PageDeviceFont.cs
- SoapAttributeOverrides.cs
- Cloud.cs
- BufferedGraphicsManager.cs
- RbTree.cs
- SynchronizationContext.cs
- KeyValueConfigurationElement.cs
- TriState.cs
- ActivityTypeResolver.xaml.cs
- SctClaimDictionary.cs
- SHA1Managed.cs
- IpcChannelHelper.cs
- XmlMapping.cs
- TextAnchor.cs
- TargetInvocationException.cs
- OdbcCommandBuilder.cs
- ButtonChrome.cs
- FormViewCommandEventArgs.cs
- InterleavedZipPartStream.cs
- SymbolMethod.cs
- LowerCaseStringConverter.cs
- QuestionEventArgs.cs
- HitTestFilterBehavior.cs
- CapabilitiesUse.cs
- Helper.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- MatchingStyle.cs
- TagPrefixCollection.cs
- SqlStream.cs
- MetafileEditor.cs
- DefaultAssemblyResolver.cs
- MenuTracker.cs
- SafeNativeMethods.cs
- TextEditorSpelling.cs
- UrlPropertyAttribute.cs