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
- Mouse.cs
- TextContainerChangedEventArgs.cs
- HighContrastHelper.cs
- SvcMapFileSerializer.cs
- EntityTransaction.cs
- ConstraintStruct.cs
- HuffmanTree.cs
- ReflectEventDescriptor.cs
- Expressions.cs
- updateconfighost.cs
- PanelDesigner.cs
- PathNode.cs
- TypedReference.cs
- SQLMoneyStorage.cs
- AnonymousIdentificationModule.cs
- QuaternionConverter.cs
- ServiceDescriptionData.cs
- PointAnimationUsingPath.cs
- WebPartDescriptionCollection.cs
- BufferedGraphics.cs
- Vector3DValueSerializer.cs
- StateBag.cs
- StateDesigner.Layouts.cs
- DesignerTransaction.cs
- TemplatePropertyEntry.cs
- PixelFormats.cs
- TagMapCollection.cs
- SHA384CryptoServiceProvider.cs
- HttpRuntime.cs
- QueryReaderSettings.cs
- XmlSchemaGroupRef.cs
- SqlRecordBuffer.cs
- IERequestCache.cs
- DataRowChangeEvent.cs
- OrderedDictionaryStateHelper.cs
- RepeatButtonAutomationPeer.cs
- ColorAnimationBase.cs
- UnmanagedMemoryStreamWrapper.cs
- SettingsAttributes.cs
- TemplateInstanceAttribute.cs
- MarkupCompilePass2.cs
- ListViewHitTestInfo.cs
- ObfuscateAssemblyAttribute.cs
- NullableBoolConverter.cs
- GrammarBuilder.cs
- XmlSchemaAttributeGroupRef.cs
- AudioBase.cs
- JsonWriterDelegator.cs
- CommonRemoteMemoryBlock.cs
- LeftCellWrapper.cs
- ElementHost.cs
- QilFunction.cs
- HtmlShimManager.cs
- Int16KeyFrameCollection.cs
- ActivationServices.cs
- MulticastOption.cs
- ExtenderControl.cs
- ConfigXmlAttribute.cs
- KernelTypeValidation.cs
- PresentationAppDomainManager.cs
- FlowDocumentPage.cs
- MaskedTextProvider.cs
- BaseCodeDomTreeGenerator.cs
- AlphaSortedEnumConverter.cs
- ButtonField.cs
- DataRelationPropertyDescriptor.cs
- GenericWebPart.cs
- BitmapEffectrendercontext.cs
- _CommandStream.cs
- BypassElement.cs
- Panel.cs
- DesignerSerializationOptionsAttribute.cs
- ChannelServices.cs
- FixedSOMPage.cs
- DBBindings.cs
- Cell.cs
- IndicFontClient.cs
- DSASignatureDeformatter.cs
- StringResourceManager.cs
- WindowsListViewItemStartMenu.cs
- TextTreeDeleteContentUndoUnit.cs
- RemoteWebConfigurationHostServer.cs
- PermissionSetEnumerator.cs
- DSASignatureDeformatter.cs
- ContextTokenTypeConverter.cs
- ProviderUtil.cs
- FormattedText.cs
- TaskFormBase.cs
- SmtpDigestAuthenticationModule.cs
- TableColumnCollection.cs
- Int32RectConverter.cs
- TextWriterTraceListener.cs
- XmlSchemaValidationException.cs
- ResourcesChangeInfo.cs
- AxParameterData.cs
- IgnoreFlushAndCloseStream.cs
- IssuanceLicense.cs
- BasicKeyConstraint.cs
- WindowsScrollBarBits.cs
- TableAutomationPeer.cs