Delen via


ProjectionBinder<T> Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.ObjectBinder<T>
    Microsoft.TeamFoundation.Framework.Server.ProjectionBinder<T>

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Class ProjectionBinder(Of T) _
    Inherits ObjectBinder(Of T)
public class ProjectionBinder<T> : ObjectBinder<T>
generic<typename T>
public ref class ProjectionBinder : public ObjectBinder<T>
type ProjectionBinder<'T> =  
    class 
        inherit ObjectBinder<'T>
    end
JScript does not support generic types or methods.

Type Parameters

  • T

The ProjectionBinder<T> type exposes the following members.

Constructors

  Name Description
Public method ProjectionBinder<T> Construct a binder with a projection Func

Top

Properties

  Name Description
Protected property BaseReader (Inherited from ObjectBinder<T>.)
Public property Current Gets/Sets Current Object (Inherited from ObjectBinder<T>.)
Public property Items Returns strongly typed list of all items in the reader cannot call after use of MoveNext method. (Inherited from ObjectBinder<T>.)
Protected property ProcedureName (Inherited from ObjectBinder<T>.)
Protected property Reader (Inherited from ObjectBinder<T>.)

Top

Methods

  Name Description
Protected method Bind Get an object of type T representing the current row in the reader using the projection Func. (Overrides ObjectBinder<T>.Bind().)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator The object binder is a streaming enumerable and uses an internal object as the enumerator. This means it does not support being able to reset the enumerator. Also all requests to obtain an enumerator will use this object (Inherited from ObjectBinder<T>.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MoveNext Moves to the next Object. (Inherited from ObjectBinder<T>.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from ObjectBinder<T>.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace