Class MemberMapping
A (type mapping, method mapping, field mapping) triple.
Inherited Members
Namespace: Flame.TypeSystem
Assembly: Flame.dll
Syntax
public sealed class MemberMapping
Constructors
| Edit this page View SourceMemberMapping(Func<IType, IType>)
Creates a member mapping from a type mapping.
Declaration
public MemberMapping(Func<IType, IType> mapType)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<IType, IType> | mapType | A type-to-type mapping. |
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 |
|---|---|---|
| Func<IType, IType> | mapType | A type-to-type mapping. |
| Func<IMethod, IMethod> | mapMethod | A method-to-method mapping. |
| Func<IField, IField> | mapField | A field-to-field mapping. |
Properties
| Edit this page View SourceMapField
Gets a field-to-field mapping.
Declaration
public Func<IField, IField> MapField { get; }
Property Value
| Type | Description |
|---|---|
| Func<IField, IField> | A field-to-field mapping. |
MapMethod
Gets a method-to-method mapping.
Declaration
public Func<IMethod, IMethod> MapMethod { get; }
Property Value
| Type | Description |
|---|---|
| Func<IMethod, IMethod> | A method-to-method mapping. |
MapType
Gets a type-to-type mapping.
Declaration
public Func<IType, IType> MapType { get; }
Property Value
| Type | Description |
|---|---|
| Func<IType, IType> | A type-to-type mapping. |