DefaultDistributionDesigner 类

更新:2007 年 11 月

可用于所有分布的默认设计器。

命名空间:  Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
程序集:  Microsoft.VisualStudio.TeamSystem.Data(在 Microsoft.VisualStudio.TeamSystem.Data.dll 中)

语法

声明
<CLSCompliantAttribute(True)> _
Public Class DefaultDistributionDesigner _
    Implements IDesigner
用法
Dim instance As DefaultDistributionDesigner
[CLSCompliantAttribute(true)]
public class DefaultDistributionDesigner : IDesigner
[CLSCompliantAttribute(true)]
public ref class DefaultDistributionDesigner : IDesigner
public class DefaultDistributionDesigner implements IDesigner

备注

您可以覆盖此设计器以获得自定义设计器行为。

每个数值型标准数据生成器(小数、货币、日期时间、实数、浮点数及整数生成器)都具有一个“Distribution”属性。用户可以通过指定“Distribution”属性来生成近似于统计分布曲线的数据。标准的分布选项有:均匀、正态、逆正态、指数和逆指数。

针对与数据生成计划所包括的每个数值列相关联的每个分布都存在一个设计器实例。

默认的设计器可确定分布的设计时行为,包括以下内容:

  • 为“属性”窗口获取输入属性的名称。

  • 在“属性”窗口中设置输入属性的默认值。

  • 验证用户在“属性”窗口中指定的数据。

继承层次结构

System.Object
  Microsoft.VisualStudio.TeamSystem.Data.DataGenerator.DefaultDistributionDesigner

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

另请参见

参考

DefaultDistributionDesigner 成员

Microsoft.VisualStudio.TeamSystem.Data.DataGenerator 命名空间

Distribution

IDistribution

DefaultGeneratorDesigner

IGeneratorDesigner

IDesigner