Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ComponentResourceManager.cs
- AppDomainProtocolHandler.cs
- WebPartConnectionsCancelEventArgs.cs
- SerTrace.cs
- ReadContentAsBinaryHelper.cs
- ValuePattern.cs
- QueryableFilterRepeater.cs
- FlowDocument.cs
- XmlObjectSerializer.cs
- SqlXmlStorage.cs
- StringInfo.cs
- PrintPreviewGraphics.cs
- SafeNativeMethods.cs
- TypeBuilder.cs
- MessageDescription.cs
- SplineKeyFrames.cs
- OperationResponse.cs
- GenericTypeParameterBuilder.cs
- x509utils.cs
- Triplet.cs
- CommandField.cs
- SerializationTrace.cs
- TransformValueSerializer.cs
- JoinGraph.cs
- FigureHelper.cs
- CultureTableRecord.cs
- WorkflowMarkupSerializationProvider.cs
- ResourceReader.cs
- RequestTimeoutManager.cs
- IItemProperties.cs
- DeleteIndexBinder.cs
- MetadataUtil.cs
- thaishape.cs
- LicenseContext.cs
- SqlDependency.cs
- DataTemplateSelector.cs
- CqlParser.cs
- SchemaConstraints.cs
- XPathSelectionIterator.cs
- DataSourceControl.cs
- StringReader.cs
- AspNetCompatibilityRequirementsAttribute.cs
- PageThemeParser.cs
- EntityDataSourceDataSelectionPanel.cs
- DocumentXPathNavigator.cs
- PropertyMetadata.cs
- RightsManagementErrorHandler.cs
- RetriableClipboard.cs
- CapiSymmetricAlgorithm.cs
- PnrpPeerResolverElement.cs
- UnsafeNativeMethods.cs
- XPathExpr.cs
- DateTimeConstantAttribute.cs
- SQLDecimalStorage.cs
- CompilerCollection.cs
- ColorConverter.cs
- PrimaryKeyTypeConverter.cs
- DependencyPropertyValueSerializer.cs
- UndirectedGraph.cs
- DataMemberConverter.cs
- ConstantSlot.cs
- NullableLongAverageAggregationOperator.cs
- EnumerationRangeValidationUtil.cs
- SourceChangedEventArgs.cs
- DataGridColumnHeaderCollection.cs
- Helpers.cs
- DataChangedEventManager.cs
- ToolstripProfessionalRenderer.cs
- EditorPartDesigner.cs
- ConstructorNeedsTagAttribute.cs
- OleDbRowUpdatedEvent.cs
- InkCanvasInnerCanvas.cs
- Binding.cs
- TreeNodeCollectionEditor.cs
- DataGridViewCellParsingEventArgs.cs
- DescendantBaseQuery.cs
- WorkflowMarkupSerializationManager.cs
- ErrorStyle.cs
- Int32Animation.cs
- SmiGettersStream.cs
- TextParaLineResult.cs
- StreamSecurityUpgradeAcceptor.cs
- WebControl.cs
- XPathDocumentIterator.cs
- HtmlElement.cs
- VersionPair.cs
- FormViewUpdateEventArgs.cs
- IPipelineRuntime.cs
- ContentDisposition.cs
- DecoderBestFitFallback.cs
- WorkflowPageSetupDialog.cs
- XmlDataSource.cs
- CLRBindingWorker.cs
- TraceContextEventArgs.cs
- LinqDataSourceContextData.cs
- Journaling.cs
- linebase.cs
- InternalBase.cs
- complextypematerializer.cs
- ToolStripButton.cs