Unable to use some methods in F # from C # class

I find it difficult to determine why I do not see / use some methods from the C # type in the F # function.

enter image description here

public class KafkaBus : IKafkaBus { // this works and can be used public IObservable<Shared.Model.Message<T>> CreateConsumer<T>(string topic, Func<byte[], T> deserialize = null) // those cannot be found public Task<Confluent.Kafka.CommittedOffsets> CommitAsync<T>(Message<T> message) public Task<Confluent.Kafka.CommittedOffsets> CommitAsync(string topic, int partition, long offSet) } 

If I check the object browser in the F # solution for links, I see the methods listed below: enter image description here

I am using VS 2017 15.3, .NET Framework 4.6.1, the library is referenced via nuget.

+5
source share
1 answer

Thus, at the end of re-opening the project , rebuilding or just restarting the machine helps the case ... It looks like an error in Visual Studio. Got Help MSDN Forums

0
source

Source: https://habr.com/ru/post/1272448/


All Articles