Created
November 3, 2014 07:54
-
-
Save philipstears/538f6934d378c2cff6a9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Task("Name", "embedded://DriveWorks.MyImagePlain16.png", "Category")> _ | |
Public Class DoSomethingWithOpenSpecification | |
Inherits Task | |
Private Sub New() | |
End Sub | |
''' <summary> | |
''' Overridden to indicate that a running specification is required by the task to execute. | |
''' </summary> | |
''' <param name="ctx">The specification context for the active specification.</param> | |
''' <returns>True</returns> | |
''' <remarks></remarks> | |
Protected Overrides Function IsRunningRequired(ByVal ctx As SpecificationContext) As Boolean | |
Return True | |
End Function | |
Protected Overrides Sub Execute(ByVal ctx As SpecificationContext) | |
' Do work that requires the specification context to be open | |
End Sub | |
End Class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment