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

Search Results for

    Class VsModel

    Base class used by all visual studio models.

    Inheritance
    object
    VsModel
    VsCSharpSource
    VsDocument
    VsProject
    VsProjectFolder
    VsProjectFramework
    VsReference
    VsSolution
    VsSolutionFolder
    Implements
    IVsModel
    IModel<VisualStudioModelType>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CodeFactory.WinVs.Models.ProjectSystem
    Assembly: CodeFactory.WinVs.dll
    Syntax
    public abstract class VsModel : IVsModel, IModel<VisualStudioModelType>

    Constructors

    VsModel(bool, bool, IReadOnlyList<ModelException<VisualStudioModelType>>, VisualStudioModelType, string)

    Constructor for the base class VsModel

    Declaration
    protected VsModel(bool isLoaded, bool hasErrors, IReadOnlyList<ModelException<VisualStudioModelType>> modelErrors, VisualStudioModelType modelType, string name)
    Parameters
    Type Name Description
    bool isLoaded

    Flag that determines if the model is loaded.

    bool hasErrors

    Flag that determines if errors occurred while loading the model.

    IReadOnlyList<ModelException<VisualStudioModelType>> modelErrors

    The list of errors that occurred if any.

    VisualStudioModelType modelType

    The type of visual studio model that is loaded.

    string name

    The name of the model.

    Properties

    HasErrors

    Flag that determines if this model has errors.

    Declaration
    public bool HasErrors { get; }
    Property Value
    Type Description
    bool

    IsLoaded

    Flag that determines if this model was able to load.

    Declaration
    public bool IsLoaded { get; }
    Property Value
    Type Description
    bool

    ModelErrors

    List of all errors that occurred in this model.

    Declaration
    public IReadOnlyList<ModelException<VisualStudioModelType>> ModelErrors { get; }
    Property Value
    Type Description
    IReadOnlyList<ModelException<VisualStudioModelType>>

    ModelType

    Determines the type of model that has been loaded.

    Declaration
    public VisualStudioModelType ModelType { get; }
    Property Value
    Type Description
    VisualStudioModelType

    Name

    The name of the visual studio model.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string

    Implements

    IVsModel
    IModel<TModelTypes>

    Extension Methods

    VsModelExtensions.GetHostingProjectAsync(VsModel)
    VsModelExtensions.GetParentProjectFolderAsync(VsModel)
    © CodeFactory, LLC. All rights reserved.