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
- CopyOnWriteList.cs
- DependencyPropertyHelper.cs
- ClientSettingsSection.cs
- LoginUtil.cs
- ScriptReferenceEventArgs.cs
- UniqueConstraint.cs
- X509Utils.cs
- ResumeStoryboard.cs
- ImageDrawing.cs
- MaterializeFromAtom.cs
- Process.cs
- DbProviderFactories.cs
- ToolStripMenuItemDesigner.cs
- ComNativeDescriptor.cs
- CallSiteHelpers.cs
- ImageCodecInfoPrivate.cs
- Currency.cs
- SizeLimitedCache.cs
- TextDpi.cs
- RemotingException.cs
- XmlSchemaAnnotated.cs
- NumberSubstitution.cs
- LogReservationCollection.cs
- XLinq.cs
- AnnotationResourceChangedEventArgs.cs
- UrlPropertyAttribute.cs
- SiteMapNodeItem.cs
- DbFunctionCommandTree.cs
- BitmapEffectInput.cs
- WmlMobileTextWriter.cs
- EntitySqlException.cs
- SafeCoTaskMem.cs
- GrammarBuilderPhrase.cs
- Win32KeyboardDevice.cs
- OutputScopeManager.cs
- ServiceProviders.cs
- GlobalizationAssembly.cs
- CustomAttributeFormatException.cs
- DataGridViewButtonCell.cs
- BroadcastEventHelper.cs
- DataGridCell.cs
- InstanceKeyCompleteException.cs
- PrintPreviewDialog.cs
- MetadataArtifactLoaderFile.cs
- SvcMapFile.cs
- InboundActivityHelper.cs
- ModelItemCollectionImpl.cs
- WindowsRegion.cs
- ContourSegment.cs
- updatecommandorderer.cs
- XmlQueryStaticData.cs
- AuditLogLocation.cs
- ListViewUpdatedEventArgs.cs
- BaseHashHelper.cs
- ClientConvert.cs
- SecurityContextTokenValidationException.cs
- MemberPathMap.cs
- FormViewCommandEventArgs.cs
- HttpDictionary.cs
- Literal.cs
- RelationshipEndCollection.cs
- DataGrid.cs
- DbConnectionClosed.cs
- GiveFeedbackEvent.cs
- COM2FontConverter.cs
- UnmanagedBitmapWrapper.cs
- SingleQueryOperator.cs
- PaperSize.cs
- GACIdentityPermission.cs
- MetadataPropertyCollection.cs
- RoleManagerModule.cs
- ConnectionsZone.cs
- UserPreferenceChangingEventArgs.cs
- ZoneLinkButton.cs
- QueryCoreOp.cs
- CodeLabeledStatement.cs
- PropertyPath.cs
- AbandonedMutexException.cs
- ProfilePropertySettingsCollection.cs
- RadioButtonList.cs
- SqlUtils.cs
- Point3DCollectionConverter.cs
- FormatVersion.cs
- FormatterServices.cs
- XpsTokenContext.cs
- XamlPoint3DCollectionSerializer.cs
- WsdlHelpGeneratorElement.cs
- ElementFactory.cs
- Authorization.cs
- DataTableMapping.cs
- Rotation3DAnimationBase.cs
- VarInfo.cs
- ChildrenQuery.cs
- FlowLayoutPanel.cs
- TypedDatasetGenerator.cs
- EncryptedReference.cs
- CompModSwitches.cs
- BamlBinaryWriter.cs
- PriorityQueue.cs
- SourceLineInfo.cs