CodeFactory Platform CodeFactory Platform
CodeFactory Platform CodeFactory Platform
CodeFactory

Search Results for

    Class VsCSharpSourceExtensions

    Extensions class that provides common automation tasks rolled up under standard extension methods that support the VsCSharpSource model.

    Inheritance
    object
    VsCSharpSourceExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: CodeFactory.VisualStudio
    Assembly: CodeFactory.VisualStudio.dll
    Syntax
    public static class VsCSharpSourceExtensions

    Methods

    | Improve this Doc View Source

    GetHostingProjectAsync(VsCSharpSource)

    Extension method that loads the hosting project for the VsCSharpSource document.

    Declaration
    public static Task<VsProject> GetHostingProjectAsync(this VsCSharpSource source)
    Parameters
    Type Name Description
    VsCSharpSource source

    Target document to load the parent from.

    Returns
    Type Description
    Task<VsProject>

    The project model or null if the project could not be loaded.

    © CodeFactory, LLC. All rights reserved.