Core/CafeLib.Core.MethodBinding/MethodBridge.cs
/// <summary>
/// Populate the bridge map for this instance.
/// </summary>
Populate the bridge map for this instance.
Populate the bridge map for this instance .
private void Populate()
        {
			foreach (var methodInfo in GetType().GetTypeInfo().DeclaredMethods)
            {
                var attr = methodInfo.GetCustomAttribute<MethodExportAttribute>();
                if (attr != null)
                {
                    MapBridgeEntry(attr.ExportName ?? methodInfo.Name, methodInfo);
                }
			}
        }
private void Populate ( ) { foreach ( var methodInfo in GetType ( ) . GetTypeInfo ( ) . DeclaredMethods ) { var attr = methodInfo . GetCustomAttribute < MethodExportAttribute > ( ) ; if ( attr != null ) { MapBridgeEntry ( attr . ExportName ?? methodInfo . Name , methodInfo ) ; } } }
Populate the bridge map for this instance.
Populate the bridge map for this instance .