Gets or sets the name of the data source to create so that the values produced by this attribute can be referred to elsewhere.

Namespace:  Gallio.Framework.Pattern
Assembly:  Gallio (in Gallio.dll) Version: 3.2.0.0 (3.2.528.0)

Syntax

C#
public string SourceName { get; set; }
Visual Basic (Declaration)
Public Property SourceName As String

Remarks

Multiple data attributes may use the same data source name to produce a compound data source consisting of all of their values combined.

If no name is given to the data source (or it is an empty string), the data source is considered anonymous. An anonymous data source is only visible within the scope of the code element with which the data source declaration is associated. By default, test parameters are bound to the anonymous data source of their enclosing scope.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThrown if value is null.

See Also