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
- HttpFileCollection.cs
- DefaultTextStore.cs
- ModelItemCollection.cs
- GradientBrush.cs
- EllipseGeometry.cs
- shaperfactoryquerycacheentry.cs
- CodeTypeParameterCollection.cs
- ProfilePropertySettingsCollection.cs
- ToolStripGrip.cs
- UIElementIsland.cs
- GlyphsSerializer.cs
- DataGridViewIntLinkedList.cs
- AdCreatedEventArgs.cs
- ComponentTray.cs
- EmptyEnumerator.cs
- HtmlObjectListAdapter.cs
- ConstraintConverter.cs
- CompressStream.cs
- Deserializer.cs
- WindowsIdentity.cs
- TerminatorSinks.cs
- SafeEventHandle.cs
- ConfigXmlElement.cs
- BitmapSourceSafeMILHandle.cs
- TypefaceMap.cs
- Privilege.cs
- CodeDefaultValueExpression.cs
- CodeCatchClause.cs
- NullableFloatMinMaxAggregationOperator.cs
- AnimationStorage.cs
- CounterSample.cs
- WSTrustDec2005.cs
- IdnElement.cs
- BitmapScalingModeValidation.cs
- ToolboxItem.cs
- StorageEntitySetMapping.cs
- TableLayoutPanel.cs
- DynamicDiscoSearcher.cs
- ProcessHostMapPath.cs
- AuthenticateEventArgs.cs
- COM2IDispatchConverter.cs
- SmiMetaData.cs
- FieldToken.cs
- LayoutSettings.cs
- _TLSstream.cs
- ToolStripKeyboardHandlingService.cs
- Parser.cs
- QilInvoke.cs
- DataKeyArray.cs
- StringDictionary.cs
- EntityDataSourceWrapperCollection.cs
- PageRanges.cs
- ZipPackage.cs
- CultureSpecificStringDictionary.cs
- HttpRawResponse.cs
- DocComment.cs
- ScriptHandlerFactory.cs
- ReversePositionQuery.cs
- XamlGridLengthSerializer.cs
- CachedCompositeFamily.cs
- ExpressionReplacer.cs
- DateBoldEvent.cs
- BaseTransportHeaders.cs
- DynamicUpdateCommand.cs
- CustomPopupPlacement.cs
- ProcessHostServerConfig.cs
- SequenceFullException.cs
- UpdatePanelControlTrigger.cs
- UnrecognizedPolicyAssertionElement.cs
- xdrvalidator.cs
- ZoneButton.cs
- SqlClientFactory.cs
- NativeMethodsCLR.cs
- StyleSheet.cs
- ReadingWritingEntityEventArgs.cs
- Ref.cs
- ProcessInputEventArgs.cs
- HttpHandlerAction.cs
- BindingContext.cs
- ReaderContextStackData.cs
- Sentence.cs
- BulletedList.cs
- ConfigUtil.cs
- DataMember.cs
- ProxyGenerator.cs
- XamlPoint3DCollectionSerializer.cs
- FilterQuery.cs
- CssStyleCollection.cs
- _DisconnectOverlappedAsyncResult.cs
- _SpnDictionary.cs
- BoundPropertyEntry.cs
- XDRSchema.cs
- WindowsFormsSynchronizationContext.cs
- GPPOINT.cs
- NamedElement.cs
- ProviderConnectionPoint.cs
- CopyOnWriteList.cs
- X500Name.cs
- rsa.cs
- HttpCachePolicy.cs