OpenApiWorkspace Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OpenApiWorkspace() |
Initialize workspace using current directory as the default location. |
OpenApiWorkspace(OpenApiWorkspace) |
Initializes a copy of an OpenApiWorkspace object |
OpenApiWorkspace(Uri) |
Initialize workspace pointing to a base URL to allow resolving relative document locations. Use a file:// url to point to a folder |
OpenApiWorkspace()
Initialize workspace using current directory as the default location.
public OpenApiWorkspace ();
Public Sub New ()
Applies to
OpenApiWorkspace(OpenApiWorkspace)
Initializes a copy of an OpenApiWorkspace object
public OpenApiWorkspace (Microsoft.OpenApi.Services.OpenApiWorkspace workspace);
new Microsoft.OpenApi.Services.OpenApiWorkspace : Microsoft.OpenApi.Services.OpenApiWorkspace -> Microsoft.OpenApi.Services.OpenApiWorkspace
Public Sub New (workspace As OpenApiWorkspace)
Parameters
- workspace
- OpenApiWorkspace
Applies to
OpenApiWorkspace(Uri)
Initialize workspace pointing to a base URL to allow resolving relative document locations. Use a file:// url to point to a folder
public OpenApiWorkspace (Uri baseUrl);
new Microsoft.OpenApi.Services.OpenApiWorkspace : Uri -> Microsoft.OpenApi.Services.OpenApiWorkspace
Public Sub New (baseUrl As Uri)
Parameters
- baseUrl
- Uri