Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / ExpressionBinding.cs / 1305376 / 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; ////// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WorkflowRuntimeSection.cs
- ElementMarkupObject.cs
- DataIdProcessor.cs
- ImageEditor.cs
- ResXDataNode.cs
- WorkflowInstanceRecord.cs
- DragSelectionMessageFilter.cs
- AtomServiceDocumentSerializer.cs
- GlyphInfoList.cs
- ContainsSearchOperator.cs
- SqlDataReaderSmi.cs
- ApplicationId.cs
- BoolLiteral.cs
- TableHeaderCell.cs
- CurrencyManager.cs
- PointCollectionConverter.cs
- HttpStreamXmlDictionaryReader.cs
- ByeOperationAsyncResult.cs
- OleDbErrorCollection.cs
- EmptyEnumerable.cs
- MetaForeignKeyColumn.cs
- ComboBox.cs
- DropDownList.cs
- XmlSchemaSimpleType.cs
- Vector3DCollectionValueSerializer.cs
- EventMappingSettings.cs
- BindableAttribute.cs
- CrossSiteScriptingValidation.cs
- WindowInteractionStateTracker.cs
- KeyInterop.cs
- SurrogateSelector.cs
- initElementDictionary.cs
- FilteredDataSetHelper.cs
- Switch.cs
- RequestBringIntoViewEventArgs.cs
- TextReturnReader.cs
- Operators.cs
- ElementHostAutomationPeer.cs
- RepeaterCommandEventArgs.cs
- ImageSource.cs
- SwitchLevelAttribute.cs
- SplineKeyFrames.cs
- DescendantQuery.cs
- SettingsAttributeDictionary.cs
- ComponentCollection.cs
- BodyWriter.cs
- TextSimpleMarkerProperties.cs
- ParameterModifier.cs
- securestring.cs
- cookieexception.cs
- HttpRequestBase.cs
- CaretElement.cs
- CodeTypeDelegate.cs
- WinEventQueueItem.cs
- DiscoveryDocumentSearchPattern.cs
- CalloutQueueItem.cs
- CatalogPart.cs
- Int32CollectionValueSerializer.cs
- BasePropertyDescriptor.cs
- ObfuscationAttribute.cs
- EventLogPermissionHolder.cs
- RNGCryptoServiceProvider.cs
- DomainConstraint.cs
- ToolStripStatusLabel.cs
- SynchronizationContext.cs
- FastEncoderWindow.cs
- UnknownWrapper.cs
- RegisteredScript.cs
- Vector3DCollectionConverter.cs
- MeasurementDCInfo.cs
- QualificationDataAttribute.cs
- FrameDimension.cs
- _AcceptOverlappedAsyncResult.cs
- Point3DAnimation.cs
- DesignerSelectionListAdapter.cs
- LongTypeConverter.cs
- wgx_commands.cs
- ExpandCollapseIsCheckedConverter.cs
- MailWebEventProvider.cs
- ClassHandlersStore.cs
- Attribute.cs
- DataServiceStreamProviderWrapper.cs
- Control.cs
- ImageListDesigner.cs
- TemplateNameScope.cs
- ChannelPoolSettingsElement.cs
- ChooseAction.cs
- _Win32.cs
- GenericTextProperties.cs
- ConnectionPoint.cs
- RequestCache.cs
- isolationinterop.cs
- SessionEndedEventArgs.cs
- ManifestResourceInfo.cs
- Perspective.cs
- ADMembershipProvider.cs
- GradientStop.cs
- XmlReader.cs
- AttachmentCollection.cs
- QilUnary.cs