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
- ExpressionConverter.cs
- BaseDataList.cs
- ProcessStartInfo.cs
- NetSectionGroup.cs
- Set.cs
- HwndSource.cs
- QueryGeneratorBase.cs
- SqlStatistics.cs
- BitSet.cs
- ToolStripDropTargetManager.cs
- TrustLevelCollection.cs
- Operators.cs
- Journaling.cs
- BlockUIContainer.cs
- GeneralTransform2DTo3D.cs
- HeaderFilter.cs
- WebPartAddingEventArgs.cs
- Button.cs
- Token.cs
- MemoryStream.cs
- __Filters.cs
- DispatchChannelSink.cs
- WindowsAuthenticationModule.cs
- TextFormatterHost.cs
- UnmanagedMemoryStream.cs
- BindingSource.cs
- DecodeHelper.cs
- ScrollItemProviderWrapper.cs
- ElementNotAvailableException.cs
- _NegotiateClient.cs
- XmlSchemaSequence.cs
- AssociationTypeEmitter.cs
- DataControlFieldHeaderCell.cs
- ValidatorCollection.cs
- InternalBufferOverflowException.cs
- ListViewDesigner.cs
- GlyphRunDrawing.cs
- DmlSqlGenerator.cs
- ModuleBuilderData.cs
- VirtualPathUtility.cs
- ValueType.cs
- IndicFontClient.cs
- Html32TextWriter.cs
- WebConfigurationHostFileChange.cs
- BatchStream.cs
- HostedElements.cs
- LongValidatorAttribute.cs
- AssemblyHelper.cs
- PlacementWorkspace.cs
- AggregateNode.cs
- InstanceHandleConflictException.cs
- InternalConfigEventArgs.cs
- CodeBinaryOperatorExpression.cs
- ReadWriteSpinLock.cs
- XmlSchemaProviderAttribute.cs
- TextRenderer.cs
- VScrollProperties.cs
- ColorKeyFrameCollection.cs
- DataBoundLiteralControl.cs
- WindowsListViewItemCheckBox.cs
- ExpressionPrefixAttribute.cs
- FunctionQuery.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- SqlColumnizer.cs
- HostedElements.cs
- StateFinalizationDesigner.cs
- Int32Storage.cs
- ProtocolsConfigurationHandler.cs
- DataExpression.cs
- MetafileHeader.cs
- FixedBufferAttribute.cs
- SynchronizedDispatch.cs
- SortQuery.cs
- SqlTriggerAttribute.cs
- ControlBuilder.cs
- CompilerErrorCollection.cs
- Attributes.cs
- AutoSizeToolBoxItem.cs
- DataExpression.cs
- UnmanagedBitmapWrapper.cs
- DateBoldEvent.cs
- ExplicitDiscriminatorMap.cs
- RemotingException.cs
- ReferenceEqualityComparer.cs
- DictionaryBase.cs
- SourceFileBuildProvider.cs
- ServiceModelConfigurationSectionGroup.cs
- Size3DValueSerializer.cs
- AdapterUtil.cs
- FontFaceLayoutInfo.cs
- DropShadowBitmapEffect.cs
- XmlHierarchicalDataSourceView.cs
- CombinedGeometry.cs
- XsdBuilder.cs
- SecurityBindingElementImporter.cs
- MultipleViewPatternIdentifiers.cs
- ConsumerConnectionPointCollection.cs
- ProfileSettingsCollection.cs
- ValueProviderWrapper.cs
- ArgumentNullException.cs