Share via


BuildContributorContext Class

Provides the context for the build process that is used by BuildContributor objects in Visual Studio.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Build.BuildContributorContext

Namespace:  Microsoft.Data.Schema.Build
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Class BuildContributorContext
public class BuildContributorContext
public ref class BuildContributorContext
type BuildContributorContext =  class end
public class BuildContributorContext

The BuildContributorContext type exposes the following members.

Constructors

  Name Description
Public method BuildContributorContext Initializes a new instance of the BuildContributorContext class.

Top

Properties

  Name Description
Public property Arguments Gets a dictionary of command-line arguments and their values.
Public property BuildProperties Gets a dictionary of named properties and their values.
Public property ExtensionFiles Gets a list of tasks to execute when the project is built.
Public property Model Gets the DataSchemaModel of the project.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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

Microsoft.Data.Schema.Build Namespace

BuildContributor

Other Resources

Walkthrough: Extend Database Project Build to Generate Model Statistics