CodeFactory Platform CodeFactory Platform
CodeFactory Platform CodeFactory Platform
CodeFactory

Search Results for

    Interface ICsGenericParameter

    Model contract for information about a parameter used in a generic definition.

    Inherited Members
    ICsModel.ModelType
    ICsModel.GetModel<T>(string)
    ICsModel.GetModel(string)
    IDotNetGenericParameter.HasOutKeyword
    IDotNetGenericParameter.HasNewConstraint
    IDotNetGenericParameter.HasClassConstraint
    IDotNetGenericParameter.HasStructConstraint
    IDotNetGenericParameter.HasConstraintTypes
    IDotNetModel.LoadedFromSource
    IDotNetModel.Language
    IDotNetModel.SourceDocument
    IModelStatus.IsLoaded
    IModelStatus.HasErrors
    IModelStatus.GetErrors()
    Namespace: CodeFactory.DotNet.CSharp
    Assembly: CodeFactory.DotNet.dll
    Syntax
    public interface ICsGenericParameter : ICsModel, IDotNetGenericParameter, IDotNetModel, IModelStatus

    Properties

    | Improve this Doc View Source

    ConstrainingTypes

    The constraining types the generic parameter must ad hear to. If there are no constraining types an empty list will be returned.

    Declaration
    IReadOnlyList<CsType> ConstrainingTypes { get; }
    Property Value
    Type Description
    IReadOnlyList<CsType>
    | Improve this Doc View Source

    Type

    The type definition of the generic parameter.

    Declaration
    CsType Type { get; }
    Property Value
    Type Description
    CsType

    Extension Methods

    DotNetModelExtensions.FormatCSharpGenericWhereClauseSyntax(IDotNetGenericParameter)
    © CodeFactory, LLC. All rights reserved.