DistributionAttribute Class
Identifies a class as a distribution.
Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple:=False, Inherited:=True)> _
<CLSCompliantAttribute(True)> _
Public NotInheritable Class DistributionAttribute
Inherits Attribute
'Usage
Dim instance As DistributionAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
[CLSCompliantAttribute(true)]
public sealed class DistributionAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple=false, Inherited=true)]
[CLSCompliantAttribute(true)]
public ref class DistributionAttribute sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false, Inherited=true) */
/** @attribute CLSCompliantAttribute(true) */
public final class DistributionAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false, Inherited=true)
CLSCompliantAttribute(true)
public final class DistributionAttribute extends Attribute
Remarks
Each standard data generator that is numeric (Decimal, Money, DateTime, Real, Float, and the integer generators) has a Distribution property. The user can specify the Distribution property to generate data that approximates a statistical distribution curve. The standard distribution options are as follows: Uniform, Normal, Normal Inverse, Exponential, and Exponential Inverse.
If the standard distributions are insufficient, you can create a custom distribution. To create a custom distribution, you must create a class that implements IDistribution or inherits from Distribution. You identify the class as a distribution by decorating it with DistributionAttribute.
You can create a custom designer for a custom distribution, or you can use DefaultDistributionDesigner.
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator.DistributionAttribute
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
DistributionAttribute Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
DistributionInit