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
- RegisteredExpandoAttribute.cs
- WebPartDeleteVerb.cs
- PropertyEmitterBase.cs
- UnsettableComboBox.cs
- ImageFormat.cs
- TransformProviderWrapper.cs
- ReachVisualSerializerAsync.cs
- _NTAuthentication.cs
- SchemaHelper.cs
- DeviceFilterEditorDialog.cs
- InputScopeConverter.cs
- ChtmlLinkAdapter.cs
- PropertyDescriptor.cs
- AccessorTable.cs
- RSAOAEPKeyExchangeDeformatter.cs
- Expander.cs
- ActivityWithResultConverter.cs
- CookielessHelper.cs
- DBCommand.cs
- NeutralResourcesLanguageAttribute.cs
- ReflectTypeDescriptionProvider.cs
- MailBnfHelper.cs
- ResourcePermissionBaseEntry.cs
- ColorMatrix.cs
- UserControlParser.cs
- XPathAncestorQuery.cs
- _ProxyChain.cs
- AxHost.cs
- URLMembershipCondition.cs
- OperationDescription.cs
- QueryableFilterUserControl.cs
- PenLineJoinValidation.cs
- QueuePathEditor.cs
- IndexOutOfRangeException.cs
- ThreadStartException.cs
- WebPartAuthorizationEventArgs.cs
- FilterableAttribute.cs
- GeometryConverter.cs
- _SecureChannel.cs
- SafeRightsManagementSessionHandle.cs
- SQLRoleProvider.cs
- PointHitTestResult.cs
- WebBrowser.cs
- CalendarAutomationPeer.cs
- ImageEditor.cs
- InheritanceContextChangedEventManager.cs
- TableMethodGenerator.cs
- SoapTransportImporter.cs
- StringUtil.cs
- PathSegmentCollection.cs
- PageHandlerFactory.cs
- XmlChoiceIdentifierAttribute.cs
- HtmlDocument.cs
- PropertyReference.cs
- VolatileEnlistmentMultiplexing.cs
- cookie.cs
- EntityCommandCompilationException.cs
- RegexWorker.cs
- DataGridViewCellValidatingEventArgs.cs
- CustomGrammar.cs
- MediaSystem.cs
- Baml2006SchemaContext.cs
- ObjectKeyFrameCollection.cs
- HttpListenerRequestTraceRecord.cs
- PreApplicationStartMethodAttribute.cs
- ListControlBoundActionList.cs
- AttributeCollection.cs
- RIPEMD160.cs
- SQLMoney.cs
- NodeFunctions.cs
- CommandLibraryHelper.cs
- Paragraph.cs
- RowSpanVector.cs
- DataSourceControlBuilder.cs
- PersonalizationProvider.cs
- SafeTokenHandle.cs
- DesignTimeHTMLTextWriter.cs
- PrimaryKeyTypeConverter.cs
- CharAnimationUsingKeyFrames.cs
- TransformedBitmap.cs
- KerberosSecurityTokenParameters.cs
- IdleTimeoutMonitor.cs
- CheckBoxFlatAdapter.cs
- ModelEditingScope.cs
- UriTemplateClientFormatter.cs
- SafeEventHandle.cs
- ModelPerspective.cs
- MethodExpr.cs
- ScriptManagerProxy.cs
- ToolStripDropDownMenu.cs
- NameValueSectionHandler.cs
- ContentPresenter.cs
- Parser.cs
- SiteMapPath.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- tabpagecollectioneditor.cs
- ExpressionBuilderContext.cs
- IndicFontClient.cs
- DataGridHelper.cs
- LayoutEditorPart.cs