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

Search Results for

    Interface ICsType

    Model that defines a type used in a C# model definition.

    Inherited Members
    ICsModel.LoadedFromSource
    ICsModel.Language
    ICsModel.ModelType
    ICsModel.SourceDocument
    ICsModel.GetModel<T>(string)
    ICsModel.GetModel(string)
    IModelStatus.IsLoaded
    IModelStatus.HasErrors
    IModelStatus.GetErrors()
    ICsGeneric.IsGeneric
    ICsGeneric.GenericParameters
    ICsGeneric.HasStrongTypesInGenerics
    ICsGeneric.GenericTypes
    Namespace: CodeFactory.WinVs.Models.CSharp
    Assembly: CodeFactory.WinVs.dll
    Syntax
    public interface ICsType : ICsModel, IModelStatus, ICsGeneric

    Properties

    ArrayDimensions

    Gets a list of the dimensions that are assigned to the array. This will contain more then one value if the array is a jagged array. This will be empty if the type is not an array.

    Declaration
    IReadOnlyList<int> ArrayDimensions { get; }
    Property Value
    Type Description
    IReadOnlyList<int>

    IsArray

    Flag that determines if the type is an array of the target type.

    Declaration
    bool IsArray { get; }
    Property Value
    Type Description
    bool

    IsClass

    Flag that determines if the type is a class.

    Declaration
    bool IsClass { get; }
    Property Value
    Type Description
    bool

    IsDelegate

    Flag that determines if the type is a delegate.

    Declaration
    bool IsDelegate { get; }
    Property Value
    Type Description
    bool

    IsEnum

    Flag that determines if the type is a enumeration.

    Declaration
    bool IsEnum { get; }
    Property Value
    Type Description
    bool

    IsGenericPlaceHolder

    Flag that determines if the type is a generic place holder definition.

    Declaration
    bool IsGenericPlaceHolder { get; }
    Property Value
    Type Description
    bool

    IsInterface

    Flag that determines if the type is an interface.

    Declaration
    bool IsInterface { get; }
    Property Value
    Type Description
    bool

    IsStructure

    Flag that determines if the type is a structure.

    Declaration
    bool IsStructure { get; }
    Property Value
    Type Description
    bool

    IsTuple

    Flag that determine if the type is a Tuple

    Declaration
    bool IsTuple { get; }
    Property Value
    Type Description
    bool

    IsValueType

    Flag that determines if the type is a value type.

    Declaration
    bool IsValueType { get; }
    Property Value
    Type Description
    bool

    IsWellKnownType

    Flag that determines if the type is one of the well know data types of the language.

    Declaration
    bool IsWellKnownType { get; }
    Property Value
    Type Description
    bool

    Name

    The name of the type.

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

    Namespace

    The namespace the type belongs to.

    Declaration
    string Namespace { get; }
    Property Value
    Type Description
    string

    SupportsDisposable

    Flag that determines if the type supports the interface .

    Declaration
    bool SupportsDisposable { get; }
    Property Value
    Type Description
    bool

    TupleTypes

    List of the types that are implemented in the Tuple. This will an empty list if the type is not a tuple.

    Declaration
    IReadOnlyList<CsTupleTypeParameter> TupleTypes { get; }
    Property Value
    Type Description
    IReadOnlyList<CsTupleTypeParameter>

    ValueTypeDefaultValue

    The default value for well known value data types. This will be null if the value is not a well known value type.

    Declaration
    string ValueTypeDefaultValue { get; }
    Property Value
    Type Description
    string

    WellKnownType

    Enumeration of the target well known type this type represents.

    Declaration
    CsKnownLanguageType WellKnownType { get; }
    Property Value
    Type Description
    CsKnownLanguageType

    Methods

    GetClassModel()

    Loads the full ICsClass model from the type definition.

    Declaration
    CsClass GetClassModel()
    Returns
    Type Description
    CsClass

    Return the fully loaded model or an empty model if the type is not a class.

    GetDelegateModel()

    Loads the full ICsDelegate model from the type definition.

    Declaration
    CsDelegate GetDelegateModel()
    Returns
    Type Description
    CsDelegate

    Return the fully loaded model or an empty model if the type is not a delegate.

    GetEnumModel()

    Loads the full ICsEnum model from the type definition.

    Declaration
    CsEnum GetEnumModel()
    Returns
    Type Description
    CsEnum

    Return the fully loaded model or an empty model if the type is not an enumeration.

    GetInterfaceModel()

    Loads the full ICsInterface model from the type definition.

    Declaration
    CsInterface GetInterfaceModel()
    Returns
    Type Description
    CsInterface

    Return the fully loaded model or an empty model if the type is not an interface.

    GetStructureModel()

    Loads the full ICsStructure model from the type definition.

    Declaration
    CsStructure GetStructureModel()
    Returns
    Type Description
    CsStructure

    Return the fully loaded model or an empty model if the type is not a structure.

    © CodeFactory, LLC. All rights reserved.