Show / Hide Table of Contents

    Class MemberMapping

    A (type mapping, method mapping, field mapping) triple.

    Inheritance
    System.Object
    MemberMapping
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Flame.TypeSystem
    Assembly: Flame.dll
    Syntax
    public sealed class MemberMapping

    Constructors

    | Improve this Doc View Source

    MemberMapping(Func<IType, IType>)

    Creates a member mapping from a type mapping.

    Declaration
    public MemberMapping(Func<IType, IType> mapType)
    Parameters
    Type Name Description
    System.Func<IType, IType> mapType

    A type-to-type mapping.

    | Improve this Doc View Source

    MemberMapping(Func<IType, IType>, Func<IMethod, IMethod>, Func<IField, IField>)

    Creates a member mapping.

    Declaration
    public MemberMapping(Func<IType, IType> mapType, Func<IMethod, IMethod> mapMethod, Func<IField, IField> mapField)
    Parameters
    Type Name Description
    System.Func<IType, IType> mapType

    A type-to-type mapping.

    System.Func<IMethod, IMethod> mapMethod

    A method-to-method mapping.

    System.Func<IField, IField> mapField

    A field-to-field mapping.

    Properties

    | Improve this Doc View Source

    MapField

    Gets a field-to-field mapping.

    Declaration
    public Func<IField, IField> MapField { get; }
    Property Value
    Type Description
    System.Func<IField, IField>

    A field-to-field mapping.

    | Improve this Doc View Source

    MapMethod

    Gets a method-to-method mapping.

    Declaration
    public Func<IMethod, IMethod> MapMethod { get; }
    Property Value
    Type Description
    System.Func<IMethod, IMethod>

    A method-to-method mapping.

    | Improve this Doc View Source

    MapType

    Gets a type-to-type mapping.

    Declaration
    public Func<IType, IType> MapType { get; }
    Property Value
    Type Description
    System.Func<IType, IType>

    A type-to-type mapping.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX