Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / 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. //------------------------------------------------------------------------------ //// 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
- OutputCache.cs
- DataObject.cs
- SiteMapDataSourceView.cs
- AttributeProviderAttribute.cs
- OperationContextScope.cs
- OdbcUtils.cs
- Delegate.cs
- ValueProviderWrapper.cs
- DeclaredTypeValidator.cs
- EnumMember.cs
- ListInitExpression.cs
- ZipIOExtraFieldPaddingElement.cs
- AnnotationResourceCollection.cs
- ButtonFlatAdapter.cs
- Propagator.cs
- Stopwatch.cs
- EndpointAddressProcessor.cs
- SmtpClient.cs
- PolicyValidationException.cs
- ListenerServiceInstallComponent.cs
- PasswordDeriveBytes.cs
- TextEditorParagraphs.cs
- WebRequestModulesSection.cs
- RSACryptoServiceProvider.cs
- SystemFonts.cs
- VisualStyleElement.cs
- AssemblyAttributes.cs
- FixedFlowMap.cs
- LoadWorkflowCommand.cs
- WebReference.cs
- XomlCompiler.cs
- PersonalizationDictionary.cs
- StackSpiller.Bindings.cs
- XPathQilFactory.cs
- Control.cs
- ServicePointManager.cs
- MediaTimeline.cs
- ExpandSegmentCollection.cs
- SynchronousReceiveBehavior.cs
- InstalledFontCollection.cs
- QuerySetOp.cs
- Helpers.cs
- Merger.cs
- AtomMaterializer.cs
- smtppermission.cs
- DataChangedEventManager.cs
- NavigationPropertyEmitter.cs
- CallbackException.cs
- SearchForVirtualItemEventArgs.cs
- CustomTokenProvider.cs
- TableLayoutStyle.cs
- ParseElementCollection.cs
- TypeInfo.cs
- DataRow.cs
- WebPartVerb.cs
- ProcessThread.cs
- FileReader.cs
- ClosableStream.cs
- Crypto.cs
- MailAddress.cs
- HandlerFactoryCache.cs
- CornerRadius.cs
- BlockExpression.cs
- localization.cs
- WasEndpointConfigContainer.cs
- TypeGeneratedEventArgs.cs
- MemoryRecordBuffer.cs
- ColorInterpolationModeValidation.cs
- DateTimeFormatInfo.cs
- ParentUndoUnit.cs
- DiscoveryServerProtocol.cs
- ClientRolePrincipal.cs
- SymmetricAlgorithm.cs
- PictureBox.cs
- Attributes.cs
- ICspAsymmetricAlgorithm.cs
- SyndicationSerializer.cs
- ListItemConverter.cs
- CodePageEncoding.cs
- AspProxy.cs
- SerializerWriterEventHandlers.cs
- TreeViewHitTestInfo.cs
- Image.cs
- Accessible.cs
- QueryContext.cs
- ValidationEventArgs.cs
- StorageEntitySetMapping.cs
- PrimitiveList.cs
- BmpBitmapEncoder.cs
- NullRuntimeConfig.cs
- SchemaNames.cs
- AtomServiceDocumentSerializer.cs
- TokenBasedSet.cs
- InputLanguage.cs
- FixedSOMSemanticBox.cs
- JsonReader.cs
- BackStopAuthenticationModule.cs
- WebCategoryAttribute.cs
- DBNull.cs
- ISAPIWorkerRequest.cs