TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mrudul Ganpule
NA
23
25.6k
Can't call interfaces implicitly from only dll
May 3 2014 2:03 AM
I have class as public static class ConsumerRequestExtensions , this class has method as a
public static IConsumerRequest Get(this IConsumerRequest request),
i want to use that Get method , so i created object of IConsumerRequest and call that Get method by the IConsumerRequest object, but it gives error that explicit conversion exists.
because i am using two Dll's which have same interface, so that i create alias for one dll and access IConsumerRequest interface , but implicitly IConsumerRequest not calling the Get method of ConsumerRequestExtension.
code is here.
OnlineQBO::DevDefined.OAuth.Consumer.IConsumerRequest conReq = oSession.Request();
conReq = conReq.Get();
My dlls are
XeroApi.dll
DevDefined.OAuth.dll
please suggest any solution to avoid explicit calls of dlls
Thank you..
Reply
Answers (
1
)
how to post blog in C#corner?
Izmirde Oto Kiralama