CodeFactory for Windows CodeFactory for Windows
CodeFactory for Windows CodeFactory for Windows
CodeFactory

Search Results for

    Interface IVsSolutionActions

    Actions that can be used with the a IVsSolution model.

    Inherited Members
    IVsActions.GetSolutionAsync()
    IVsActions.GetProjectFromSourceAsync(CsSource)
    IVsActions.GetCSharpProjectFileFromSourceAsync(CsSource)
    IVsActions.GetProjectFileFromSourceAsync(CsSource)
    IVsActions.GetCSharpSourceAsync(string)
    IVsActions.EnvironmentActions
    IVsActions.SolutionActions
    IVsActions.SolutionFolderActions
    IVsActions.ProjectActions
    IVsActions.ProjectReferenceActions
    IVsActions.ProjectFolderActions
    IVsActions.DocumentActions
    IVsActions.UserInterfaceActions
    IVsActions.SourceActions
    Namespace: CodeFactory.WinVs.Models.ProjectSystem
    Assembly: CodeFactory.WinVs.dll
    Syntax
    public interface IVsSolutionActions : IVsActions

    Methods

    CreateSolutionFolderAsync(VsSolution, string)

    Creates a new solution folder for the target solution.

    Declaration
    Task<VsSolutionFolder> CreateSolutionFolderAsync(VsSolution source, string name)
    Parameters
    Type Name Description
    VsSolution source

    The solution to add the solution folder to.

    string name

    The name of the solution folder to be added.

    Returns
    Type Description
    Task<VsSolutionFolder>

    Returns the solution folder.

    GetChildrenAsync(VsSolution, bool)

    Gets the solution folders and projects that belong to the solution.

    Declaration
    Task<IReadOnlyList<VsModel>> GetChildrenAsync(VsSolution source, bool allChildren)
    Parameters
    Type Name Description
    VsSolution source

    The solution model to get the children from.

    bool allChildren

    Get all children not just the first children of the solution.

    Returns
    Type Description
    Task<IReadOnlyList<VsModel>>

    Returns a readonly list of the children to the solution. If there are no children an empty list will be returned.

    GetProjectsAsync(VsSolution, bool)

    Gets the projects for the solution.

    Declaration
    Task<IReadOnlyList<VsProject>> GetProjectsAsync(VsSolution source, bool allChildren)
    Parameters
    Type Name Description
    VsSolution source

    The solution model to get the projects from.

    bool allChildren

    Get all children not just the first children of the solution.

    Returns
    Type Description
    Task<IReadOnlyList<VsProject>>

    Returns all the projects that are part of the solution. Will return an empty list if no projects are found.

    GetSolutionFoldersAsync(VsSolution, bool)

    Gets the solution folders for the solution.

    Declaration
    Task<IReadOnlyList<VsSolutionFolder>> GetSolutionFoldersAsync(VsSolution source, bool allChildren)
    Parameters
    Type Name Description
    VsSolution source

    The solution model to get the solution folders from.

    bool allChildren

    Get all children not just the first children of the solution.

    Returns
    Type Description
    Task<IReadOnlyList<VsSolutionFolder>>

    Returns a readonly of the solutions folders that are part of the solution. If there are no solution folders an empty list will be returned.

    Extension Methods

    VsActionsExtensions.GetCSharpSourceAsync(IVsActions, CsContainer)
    VsActionsExtensions.GetCSharpSourceAsync(IVsActions, CsMember)
    VsActionsExtensions.GetProjectFolderFromConfigAsync(IVsActions, ConfigProject, string, bool)
    VsActionsExtensions.GetProjectFromConfigAsync(IVsActions, ConfigProject)
    VsActionsExtensions.GetTargetProjectAsync(IVsActions, string)
    © CodeFactory, LLC. All rights reserved.