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
- AttachedPropertyBrowsableForTypeAttribute.cs
- IPEndPoint.cs
- EntityTypeEmitter.cs
- DbExpressionVisitor_TResultType.cs
- PerformanceCounterLib.cs
- handlecollector.cs
- BuildProvider.cs
- NumberFormatInfo.cs
- WebRequestModuleElementCollection.cs
- ToolStripArrowRenderEventArgs.cs
- dbdatarecord.cs
- TaiwanLunisolarCalendar.cs
- smtppermission.cs
- MediaEntryAttribute.cs
- FormViewUpdatedEventArgs.cs
- DisplayMemberTemplateSelector.cs
- CounterCreationDataConverter.cs
- GestureRecognitionResult.cs
- SubMenuStyle.cs
- Panel.cs
- SrgsText.cs
- WebUtil.cs
- AmbientEnvironment.cs
- NotEqual.cs
- AddInAttribute.cs
- UpdateExpressionVisitor.cs
- WindowHelperService.cs
- TextRangeEditTables.cs
- DecoderFallback.cs
- TrackBarRenderer.cs
- METAHEADER.cs
- MatrixAnimationBase.cs
- ContextCorrelationInitializer.cs
- PrefixQName.cs
- IIS7WorkerRequest.cs
- UseLicense.cs
- GridItemPattern.cs
- DesignSurfaceManager.cs
- ToolStripLabel.cs
- CustomValidator.cs
- RijndaelManagedTransform.cs
- ObjectReaderCompiler.cs
- XmlDeclaration.cs
- FixedSOMPageConstructor.cs
- Exceptions.cs
- PartialCachingControl.cs
- MatrixCamera.cs
- ProfilePropertySettingsCollection.cs
- ClonableStack.cs
- EdmError.cs
- CloudCollection.cs
- PolyLineSegment.cs
- UserNameSecurityTokenAuthenticator.cs
- Debug.cs
- ListChangedEventArgs.cs
- RoutedEventHandlerInfo.cs
- TextParagraphCache.cs
- ConfigurationFileMap.cs
- WebPartDeleteVerb.cs
- CfgRule.cs
- PropertyMetadata.cs
- AmbiguousMatchException.cs
- LabelAutomationPeer.cs
- SafeFreeMibTable.cs
- CompiledIdentityConstraint.cs
- SqlDataAdapter.cs
- AcceleratedTokenProvider.cs
- SID.cs
- MetaData.cs
- ObjectTag.cs
- TreeChangeInfo.cs
- WindowsRichEdit.cs
- Psha1DerivedKeyGenerator.cs
- DataSourceProvider.cs
- TreeViewCancelEvent.cs
- ResourcesBuildProvider.cs
- ImageIndexEditor.cs
- ExpressionEditorAttribute.cs
- XmlAtomicValue.cs
- DataGridTextBox.cs
- XmlAnyElementAttribute.cs
- X509ThumbprintKeyIdentifierClause.cs
- UnauthorizedAccessException.cs
- FontFamilyConverter.cs
- UriParserTemplates.cs
- UntrustedRecipientException.cs
- FacetChecker.cs
- BaseProcessor.cs
- TextBox.cs
- RowUpdatedEventArgs.cs
- SchemaSetCompiler.cs
- QilLiteral.cs
- EncoderParameter.cs
- ScrollItemPattern.cs
- VectorConverter.cs
- WinEventQueueItem.cs
- ListControl.cs
- UiaCoreApi.cs
- GroupDescription.cs
- Button.cs