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

Search Results for

    Class CsAttributeParameter

    Data model that represents a attribute parameter.

    Inheritance
    object
    CsModel
    CsAttributeParameter
    Implements
    ICsAttributeParameter
    ICsModel
    IModelStatus
    Inherited Members
    CsModel.LocalModelErrors
    CsModel.ModelStore
    CsModel.IsLoaded
    CsModel.HasErrors
    CsModel.GetErrors()
    CsModel.LoadedFromSource
    CsModel.Language
    CsModel.ModelType
    CsModel.SourceDocument
    CsModel.LookupModel(string)
    CsModel.GetModel<T>(string)
    CsModel.GetModel(string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CodeFactory.WinVs.Models.CSharp
    Assembly: CodeFactory.WinVs.dll
    Syntax
    public abstract class CsAttributeParameter : CsModel, ICsAttributeParameter, ICsModel, IModelStatus

    Constructors

    CsAttributeParameter(bool, bool, bool, SourceCodeType, bool, string, CsAttributeParameterValue, string, ModelStore<ICsModel>, IReadOnlyList<ModelLoadException>)

    Constructor for the CsAttributeParameter

    Declaration
    protected CsAttributeParameter(bool isLoaded, bool hasErrors, bool loadedFromSource, SourceCodeType language, bool hasNamedParameter, string name, CsAttributeParameterValue value, string sourceDocument = null, ModelStore<ICsModel> modelStore = null, IReadOnlyList<ModelLoadException> modelErrors = null)
    Parameters
    Type Name Description
    bool isLoaded

    Flag that determines if the model was loaded.

    bool hasErrors

    Flag that determine if errors were found creating the model.

    bool loadedFromSource

    Flag that determines if the model was loaded from source code or from an existing library.

    SourceCodeType language

    The target language the model was generated from.

    bool hasNamedParameter

    Flag that determines if the attribute parameter is a named parameter.

    string name

    The name of the parameter, should be null if not named.

    CsAttributeParameterValue value

    The value assigned to the parameter.

    string sourceDocument

    The source document that was used to build this model. This is optional parameter and can be null.

    ModelStore<ICsModel> modelStore

    Optional the lookup storage for models created during the compile or lookup of the model.

    IReadOnlyList<ModelLoadException> modelErrors

    Optional the error that occurred while creating the model.

    Properties

    HasNamedParameter

    Flag that determines if the attribute parameter is a named value, or just part of the attributes constructor.

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

    Name

    The name of the parameter, if this is not a named parameter then it will be set to null

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

    Value

    The value that was assigned to the parameter.

    Declaration
    public CsAttributeParameterValue Value { get; }
    Property Value
    Type Description
    CsAttributeParameterValue

    Implements

    ICsAttributeParameter
    ICsModel
    IModelStatus
    © CodeFactory, LLC. All rights reserved.