Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InstalledFontCollection.cs
- UnknownBitmapDecoder.cs
- UniqueConstraint.cs
- LicenseContext.cs
- ViewGenResults.cs
- RegexCompiler.cs
- ControlEvent.cs
- StylusLogic.cs
- Viewport2DVisual3D.cs
- TabRenderer.cs
- ToolboxItemSnapLineBehavior.cs
- TextTreeUndo.cs
- GridViewDeleteEventArgs.cs
- CodeDOMUtility.cs
- HttpRawResponse.cs
- SchemaNotation.cs
- Point3DAnimationUsingKeyFrames.cs
- PanelStyle.cs
- ToolStripTextBox.cs
- ObjectAnimationBase.cs
- XslCompiledTransform.cs
- AuthenticationService.cs
- X509Utils.cs
- HtmlMeta.cs
- WinEventQueueItem.cs
- BinaryParser.cs
- Thickness.cs
- TypeCollectionDesigner.xaml.cs
- RelationshipWrapper.cs
- ControlAdapter.cs
- AutomationTextAttribute.cs
- RelOps.cs
- Directory.cs
- DropShadowEffect.cs
- ConfigXmlAttribute.cs
- BaseProcessor.cs
- BmpBitmapDecoder.cs
- HttpRawResponse.cs
- SecurityCriticalDataForSet.cs
- AppSecurityManager.cs
- SqlFactory.cs
- RefExpr.cs
- DesignerResources.cs
- DataGridPreparingCellForEditEventArgs.cs
- ReliableSessionElement.cs
- DrawingCollection.cs
- PointLight.cs
- WeakRefEnumerator.cs
- ConfigXmlText.cs
- TypedTableGenerator.cs
- GZipStream.cs
- Converter.cs
- Decoder.cs
- WindowsButton.cs
- RemotingAttributes.cs
- AutomationElement.cs
- RoutedCommand.cs
- PropertyChangedEventArgs.cs
- FormatterConverter.cs
- ClientFactory.cs
- InboundActivityHelper.cs
- UndirectedGraph.cs
- ReadOnlyObservableCollection.cs
- PageMediaType.cs
- SectionVisual.cs
- Subtree.cs
- SharedDp.cs
- ClipboardProcessor.cs
- WindowsEditBoxRange.cs
- BuilderInfo.cs
- NumberAction.cs
- XmlSerializer.cs
- UriSection.cs
- TableItemStyle.cs
- TickBar.cs
- UmAlQuraCalendar.cs
- CommandField.cs
- LeafCellTreeNode.cs
- DateTimeConstantAttribute.cs
- MatchSingleFxEngineOpcode.cs
- PrinterUnitConvert.cs
- GeneralEndpointIdentity.cs
- FormatStringEditor.cs
- WrappedReader.cs
- HierarchicalDataBoundControlAdapter.cs
- WindowsSolidBrush.cs
- SoapTransportImporter.cs
- autovalidator.cs
- DynamicMethod.cs
- TreeViewItemAutomationPeer.cs
- StreamGeometryContext.cs
- LineInfo.cs
- SamlAuthorityBinding.cs
- ClientBuildManagerCallback.cs
- TimeSpanMinutesConverter.cs
- CodeDomSerializationProvider.cs
- OutputScopeManager.cs
- QilInvokeEarlyBound.cs
- ScriptManagerProxy.cs
- RegexNode.cs