CodeFactory Platform CodeFactory Platform
CodeFactory Platform CodeFactory Platform
CodeFactory

Search Results for

    Interface ICsType

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

    Inherited Members
    ICsModel.ModelType
    ICsModel.GetModel<T>(string)
    ICsModel.GetModel(string)
    ICsGeneric.GenericParameters
    ICsGeneric.GenericTypes
    IDotNetType.Name
    IDotNetType.Namespace
    IDotNetType.IsWellKnownType
    IDotNetType.ValueTypeDefaultValue
    IDotNetType.IsValueType
    IDotNetType.SupportsDisposable
    IDotNetType.IsInterface
    IDotNetType.IsStructure
    IDotNetType.IsClass
    IDotNetType.IsArray
    IDotNetType.ArrayDimensions
    IDotNetType.IsGenericPlaceHolder
    IDotNetType.IsEnum
    IDotNetType.IsDelegate
    IDotNetType.IsTuple
    IDotNetModel.LoadedFromSource
    IDotNetModel.Language
    IDotNetModel.SourceDocument
    IModelStatus.IsLoaded
    IModelStatus.HasErrors
    IModelStatus.GetErrors()
    IDotNetGeneric.IsGeneric
    IDotNetGeneric.HasStrongTypesInGenerics
    Namespace: CodeFactory.DotNet.CSharp
    Assembly: CodeFactory.DotNet.dll
    Syntax
    public interface ICsType : ICsModel, ICsGeneric, IDotNetType, IDotNetModel, IModelStatus, IDotNetGeneric

    Properties

    | Improve this Doc View Source

    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>
    | Improve this Doc View Source

    WellKnownType

    Enumeration of the target well known type this type represents.

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

    Methods

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    Extension Methods

    DotNetModelExtensions.FormatCSharpArraySignatureSyntax(IDotNetType)
    DotNetModelExtensions.FormatCSharpFullTypeName(IDotNetType)
    DotNetModelExtensions.FormatCSharpTupleSignatureSyntax(IDotNetType)
    DotNetModelExtensions.FormatCSharpValueSyntax(IDotNetType, string)
    © CodeFactory, LLC. All rights reserved.