BuildContributorContext Constructor
Initializes a new instance of the BuildContributorContext class.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New ( _
buildProperties As Dictionary(Of String, Object), _
arguments As Dictionary(Of String, String), _
buildModel As DataSchemaModel, _
extensionFiles As ITaskItem() _
)
public BuildContributorContext(
Dictionary<string, Object> buildProperties,
Dictionary<string, string> arguments,
DataSchemaModel buildModel,
ITaskItem[] extensionFiles
)
public:
BuildContributorContext(
Dictionary<String^, Object^>^ buildProperties,
Dictionary<String^, String^>^ arguments,
DataSchemaModel^ buildModel,
array<ITaskItem^>^ extensionFiles
)
new :
buildProperties:Dictionary<string, Object> *
arguments:Dictionary<string, string> *
buildModel:DataSchemaModel *
extensionFiles:ITaskItem[] -> BuildContributorContext
public function BuildContributorContext(
buildProperties : Dictionary<String, Object>,
arguments : Dictionary<String, String>,
buildModel : DataSchemaModel,
extensionFiles : ITaskItem[]
)
Parameters
- buildProperties
Type: System.Collections.Generic.Dictionary<String, Object>
A Dictionary of named property values. Cannot be nulla null reference (Nothing in Visual Basic).
- arguments
Type: System.Collections.Generic.Dictionary<String, String>
A Dictionary of command-line arguments and values. Cannot be nulla null reference (Nothing in Visual Basic).
- buildModel
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
A reference to the DataSchemaModel of the project. Cannot be nulla null reference (Nothing in Visual Basic).
- extensionFiles
Type: array<Microsoft.Build.Framework.ITaskItem[]
An array of ITaskItem objects.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The buildProperties property, the arguments property, or the buildModel property is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.