Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / ExpressionBinding.cs / 1 / ExpressionBinding.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.ComponentModel; using System.ComponentModel.Design; using System.Data; using System.Globalization; using System.Security.Permissions; using System.Web.Util; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class ExpressionBinding { private string _propertyName; private Type _propertyType; private string _expression; private string _expressionPrefix; private bool _generated; private object _parsedExpressionData; public ExpressionBinding(string propertyName, Type propertyType, string expressionPrefix, string expression) : this(propertyName, propertyType, expressionPrefix, expression, false, null) { } ////// internal ExpressionBinding(string propertyName, Type propertyType, string expressionPrefix, string expression, bool generated, object parsedExpressionData) { _propertyName = propertyName; _propertyType = propertyType; _expression = expression; _expressionPrefix = expressionPrefix; _generated = generated; _parsedExpressionData = parsedExpressionData; } ////// public string Expression { get { return _expression; } set { _expression = value; } } ////// G public string ExpressionPrefix { get { return _expressionPrefix; } set { _expressionPrefix = value; } } public bool Generated { get { return _generated; } } public object ParsedExpressionData { get { return _parsedExpressionData; } } ////// public string PropertyName { get { return _propertyName; } } ////// public Type PropertyType { get { return _propertyType; } } ////// public override int GetHashCode() { return _propertyName.ToLower(CultureInfo.InvariantCulture).GetHashCode(); } ////// public override bool Equals(object obj) { if ((obj != null) && (obj is ExpressionBinding)) { ExpressionBinding binding = (ExpressionBinding)obj; return StringUtil.EqualsIgnoreCase(_propertyName, binding.PropertyName); } return false; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IListConverters.cs
- DateTimeFormatInfoScanner.cs
- UnmanagedMemoryAccessor.cs
- JoinCqlBlock.cs
- StatusBarDrawItemEvent.cs
- _SafeNetHandles.cs
- ContextProperty.cs
- QuadraticBezierSegment.cs
- VideoDrawing.cs
- Geometry.cs
- XmlSchemaProviderAttribute.cs
- HostUtils.cs
- MasterPageParser.cs
- MouseButton.cs
- DockingAttribute.cs
- BlurBitmapEffect.cs
- SoapSchemaExporter.cs
- ServiceBehaviorElementCollection.cs
- UIInitializationException.cs
- DefaultTraceListener.cs
- NotSupportedException.cs
- SafeNativeMethods.cs
- JulianCalendar.cs
- StorageBasedPackageProperties.cs
- ObjectConverter.cs
- DataViewManager.cs
- TiffBitmapDecoder.cs
- CharEnumerator.cs
- StatusBarDesigner.cs
- AuthorizationSection.cs
- HostProtectionPermission.cs
- ToggleButtonAutomationPeer.cs
- WindowsEditBoxRange.cs
- MultipartContentParser.cs
- DataGridItemEventArgs.cs
- AnimatedTypeHelpers.cs
- selecteditemcollection.cs
- NegationPusher.cs
- TableLayoutSettingsTypeConverter.cs
- RankException.cs
- CancellationHandler.cs
- XmlNamedNodeMap.cs
- MSAAEventDispatcher.cs
- SelectQueryOperator.cs
- WmpBitmapDecoder.cs
- log.cs
- KeyMatchBuilder.cs
- CursorConverter.cs
- SoapIgnoreAttribute.cs
- Decimal.cs
- TextEndOfParagraph.cs
- CollectionViewGroupRoot.cs
- ControlLocalizer.cs
- CodeDelegateInvokeExpression.cs
- SoapExtensionTypeElementCollection.cs
- ReceiveActivityValidator.cs
- ObjectTokenCategory.cs
- ReflectionHelper.cs
- TimeSpanStorage.cs
- SecuritySessionServerSettings.cs
- Int64.cs
- XmlDataSource.cs
- TabItemWrapperAutomationPeer.cs
- DataListItemCollection.cs
- FontEditor.cs
- AbandonedMutexException.cs
- UpdateEventArgs.cs
- ButtonBaseAutomationPeer.cs
- PointCollection.cs
- RoutedEventConverter.cs
- Stylesheet.cs
- EpmTargetPathSegment.cs
- DataReaderContainer.cs
- Transform.cs
- FamilyTypeface.cs
- DbSource.cs
- SystemDiagnosticsSection.cs
- PrivilegedConfigurationManager.cs
- Pen.cs
- SAPIEngineTypes.cs
- DataGridAddNewRow.cs
- BitStream.cs
- CounterCreationDataCollection.cs
- ListItemParagraph.cs
- GetWinFXPath.cs
- SharingService.cs
- QilReference.cs
- HttpCapabilitiesSectionHandler.cs
- WebEvents.cs
- TableLayoutPanelDesigner.cs
- ConfigXmlComment.cs
- ChannelProtectionRequirements.cs
- DependencyPropertyHelper.cs
- NameNode.cs
- SchemaConstraints.cs
- ScriptControlManager.cs
- FixedTextView.cs
- GroupBox.cs
- PeerApplication.cs
- DynamicFilter.cs