2
내 F 번호 유형과 어떤 점잖은 C#을 인터페이스를 사용하여 문제의 비트를 가진
메신저 그래서 주어진 난이 하나 개의 프로젝트에서 다음 C# 인터페이스 ...사용하여 CLR 인터페이스
//C#
namespace FunctionalInterfacing
{
public interface IFoo
{
string Bar(string a, string b);
}
}
지금 내가 원하는 그 구현 F #에서 유형을 작성하는 ..
#light
module FunctionalInterfacing.Concrete
open FunctionalInterfacing
type public ConcreteType =
interface IFoo with
member this.Bar a b = a
하는 메신저는 다음과 같은 오류가 작동하지 않는 것 ...
이 오버라이드는 해당 추상 멤버에게 다른 수의 인수를 사용합니다.
아이디어가 있습니까?