Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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.
//
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FunctionQuery.cs
- StringDictionary.cs
- InputLanguageCollection.cs
- ZipIOExtraFieldElement.cs
- ObjectSet.cs
- Visual.cs
- ResourceExpressionEditorSheet.cs
- SimpleTextLine.cs
- TableCell.cs
- RtfControlWordInfo.cs
- Vector3DKeyFrameCollection.cs
- TextBreakpoint.cs
- GeneralTransform2DTo3DTo2D.cs
- EventNotify.cs
- ReadOnlyPropertyMetadata.cs
- TextServicesHost.cs
- Odbc32.cs
- serverconfig.cs
- HorizontalAlignConverter.cs
- TypeForwardedToAttribute.cs
- TypedTableBase.cs
- DeploymentExceptionMapper.cs
- CompilerGlobalScopeAttribute.cs
- TextParagraphCache.cs
- OleDbStruct.cs
- RayHitTestParameters.cs
- WizardPanel.cs
- CodePageEncoding.cs
- CustomErrorsSection.cs
- DefaultSection.cs
- IISMapPath.cs
- DefaultBinder.cs
- TextEditorSpelling.cs
- DataGridViewRowPostPaintEventArgs.cs
- GridToolTip.cs
- Certificate.cs
- Operator.cs
- EventDriven.cs
- GenericPrincipal.cs
- CallbackHandler.cs
- WindowsRichEditRange.cs
- RangeBase.cs
- DataControlLinkButton.cs
- BrushConverter.cs
- Token.cs
- ToggleButton.cs
- ApplicationDirectoryMembershipCondition.cs
- ExpressionEditor.cs
- embossbitmapeffect.cs
- documentation.cs
- ViewManagerAttribute.cs
- JoinTreeSlot.cs
- TableRow.cs
- DataSourceComponent.cs
- TextElement.cs
- TextRangeEditLists.cs
- HwndSourceParameters.cs
- TaiwanLunisolarCalendar.cs
- SchemaEntity.cs
- AutomationElementIdentifiers.cs
- Geometry3D.cs
- RenamedEventArgs.cs
- WebProxyScriptElement.cs
- XmlJsonWriter.cs
- PageCodeDomTreeGenerator.cs
- KeysConverter.cs
- DefaultTextStoreTextComposition.cs
- WebPartTracker.cs
- WebPageTraceListener.cs
- ZeroOpNode.cs
- EntityModelSchemaGenerator.cs
- SqlUtils.cs
- QuotedPrintableStream.cs
- WaitHandleCannotBeOpenedException.cs
- CannotUnloadAppDomainException.cs
- UnaryNode.cs
- XmlSchemaInferenceException.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- WebBaseEventKeyComparer.cs
- Vector3DCollection.cs
- Merger.cs
- XmlSerializerNamespaces.cs
- RowToParametersTransformer.cs
- UriParserTemplates.cs
- AppModelKnownContentFactory.cs
- SpecularMaterial.cs
- RegistryPermission.cs
- DbSourceParameterCollection.cs
- SharedUtils.cs
- CustomTypeDescriptor.cs
- MessageQueuePermissionEntry.cs
- SevenBitStream.cs
- ToolStripItemDesigner.cs
- WbemException.cs
- Task.cs
- BufferedWebEventProvider.cs
- Int32AnimationUsingKeyFrames.cs
- SafeHandles.cs
- FixedElement.cs
- MasterPage.cs