CompiledDataContext 类

定义

表示编译数据上下文。Represents the compiled data context.

public ref class CompiledDataContext abstract
public abstract class CompiledDataContext
type CompiledDataContext = class
Public MustInherit Class CompiledDataContext
继承
CompiledDataContext

构造函数

CompiledDataContext(IList<Location>)

使用位置的初始化 CompiledDataContext 类的新实例。Initializes a new instance of the CompiledDataContext class using the locations.

CompiledDataContext(IList<LocationReference>)

将使用引用位置的 CompiledDataContext 类的新实例初始化。Initializes a new instance of the CompiledDataContext class using the location references.

CompiledDataContext(IList<LocationReference>, ActivityContext)

使用引用位置和活动上下文初始化 CompiledDataContext 类的新实例,是节点。Initializes a new instance of the CompiledDataContext class using the location references and activity context.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetCompiledDataContextCache(Object, ActivityContext, Activity, Boolean, Int32)

检索由数据上下文使用的缓存。Retrieves the cache used by the data context.

GetDataContextActivities(Activity, Boolean)

获取使用指定已编译根和实现的已编译数据的活动。Gets the activities for the compiled data using the specified compiled root and implementation.

GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetLocation<T>(Func<T>, Action<T>)

使用指定的获取和设置方法检索编译数据上下文的位置。Retrieves the location of the compiled data context using the specified get and set methods.

GetLocation<T>(Func<T>, Action<T>, Int32, Activity, ActivityContext)

检索编译数据上下文的位置。Retrieves the location of the compiled data context.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
GetValueTypeValues()

获取由数据上下文使用的值类型的值。Gets the value of the value type used by the data context.

GetVariableValue(Int32)

获取使用数据上下文的变量的值。Gets the value of the variable used by the data context.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
RewriteExpressionTree(Expression)

重写数据上下文使用的表达式。Rewrites the expression used by the data context.

SetValueTypeValues()

返回由数据上下文使用的值类型的值。Returns the value of the value type used by the data context.

SetVariableValue(Int32, Object)

返回由数据上下文使用的变量的值。Returns the value of the variable used by the data context.

ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于