Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / Microsoft / Scripting / Ast / MemberBinding.cs / 1305376 / MemberBinding.cs
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Microsoft Public License. A * copy of the license can be found in the License.html file at the root of this distribution. If * you cannot locate the Microsoft Public License, please send an email to * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound * by the terms of the Microsoft Public License. * * You must not remove this notice, or any other, from this software. * * * ***************************************************************************/ using System.Reflection; namespace System.Linq.Expressions { ////// Describes the binding types that are used in MemberInitExpression objects. /// public enum MemberBindingType { ////// A binding that represents initializing a member with the value of an expression. /// Assignment, ////// A binding that represents recursively initializing members of a member. /// MemberBinding, ////// A binding that represents initializing a member of type ListBinding } ///or from a list of elements. /// /// Provides the base class from which the classes that represent bindings that are used to initialize members of a newly created object derive. /// public abstract class MemberBinding { MemberBindingType _type; MemberInfo _member; ////// Initializes an instance of /// The type of member binding. /// The field or property to be initialized. [Obsolete("Do not use this constructor. It will be removed in future releases.")] protected MemberBinding(MemberBindingType type, MemberInfo member) { _type = type; _member = member; } ///class. /// /// Gets the type of binding that is represented. /// public MemberBindingType BindingType { get { return _type; } } ////// Gets the field or property to be initialized. /// public MemberInfo Member { get { return _member; } } ////// Returns a ///that represents the current . /// A public override string ToString() { return ExpressionStringBuilder.MemberBindingToString(this); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.that represents the current .
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SignatureTargetIdManager.cs
- grammarelement.cs
- HttpApplicationFactory.cs
- ContainerAction.cs
- CommentAction.cs
- SettingsPropertyCollection.cs
- SoapUnknownHeader.cs
- SByteConverter.cs
- DbMetaDataCollectionNames.cs
- ExpressionBindingCollection.cs
- shaperfactoryquerycacheentry.cs
- UIElementAutomationPeer.cs
- TextBlock.cs
- Empty.cs
- XmlArrayItemAttribute.cs
- TypeFieldSchema.cs
- TypeUtil.cs
- BitmapScalingModeValidation.cs
- X509ClientCertificateAuthenticationElement.cs
- GorillaCodec.cs
- TreeViewCancelEvent.cs
- SpellerHighlightLayer.cs
- ListViewCancelEventArgs.cs
- SymbolEqualComparer.cs
- LinkedResource.cs
- LineUtil.cs
- ListBoxItem.cs
- FileStream.cs
- MatrixValueSerializer.cs
- IIS7WorkerRequest.cs
- StringWriter.cs
- SystemWebCachingSectionGroup.cs
- CopyAttributesAction.cs
- AccessedThroughPropertyAttribute.cs
- ServiceRoute.cs
- NonSerializedAttribute.cs
- ProviderIncompatibleException.cs
- UnmanagedMemoryStream.cs
- ConfigsHelper.cs
- TimelineGroup.cs
- CryptoApi.cs
- CoreSwitches.cs
- XamlFilter.cs
- PersonalizationEntry.cs
- TableRowCollection.cs
- InstanceNotFoundException.cs
- WindowsSolidBrush.cs
- GridViewCommandEventArgs.cs
- MatrixAnimationUsingPath.cs
- IPipelineRuntime.cs
- SystemIPInterfaceStatistics.cs
- DirectoryRedirect.cs
- VarRefManager.cs
- TargetException.cs
- SimpleBitVector32.cs
- TextComposition.cs
- ProfileSettings.cs
- CodeGroup.cs
- Reference.cs
- NonBatchDirectoryCompiler.cs
- DataGridViewRowPostPaintEventArgs.cs
- EdmPropertyAttribute.cs
- ListSurrogate.cs
- BindingContext.cs
- XmlSerializerFactory.cs
- GridViewRowPresenterBase.cs
- FrameworkElementAutomationPeer.cs
- MaskedTextProvider.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- Attributes.cs
- DrawingDrawingContext.cs
- TextTreeUndoUnit.cs
- NotFiniteNumberException.cs
- TextChange.cs
- XmlSchemaException.cs
- SecurityImpersonationBehavior.cs
- UIAgentAsyncEndRequest.cs
- ServiceEndpointElement.cs
- CompiledQuery.cs
- DeviceContext2.cs
- ResourceAttributes.cs
- LogEntrySerializer.cs
- LocationUpdates.cs
- SortFieldComparer.cs
- ISFTagAndGuidCache.cs
- FormsAuthenticationCredentials.cs
- ValidationVisibilityAttribute.cs
- ItemCollection.cs
- ZipIOModeEnforcingStream.cs
- rsa.cs
- InputScope.cs
- CalendarDateRangeChangingEventArgs.cs
- HtmlGenericControl.cs
- DemultiplexingDispatchMessageFormatter.cs
- CdpEqualityComparer.cs
- ConnectionPointCookie.cs
- WebPartDeleteVerb.cs
- PaintValueEventArgs.cs
- PolicyStatement.cs
- LinqDataSourceStatusEventArgs.cs