这是显示错误的行:
public IOAuth2ServiceProvider<IElance> ElanceServiceProvider { get; set; }它在该行的IElance类型上显示了错误,但这里是接口:
public interface IElance : IApiBinding
{
/// <summary>
/// Search all jobs, list jobs associated with an employee or a freelancer, and retrieve information for a specific job.
/// </summary>
IJobOperations JobOperations { get; }
/// <summary>
/// Access all messages, users, messages, and Work View™ data associated with an Elance Workroom.
/// </summary>
IWorkRoomOperations WorkroomOperations { get; }
/// <summary>
/// View all of the information associated with an employee or a freelancer.
/// </summary>
IProfileOperations ProfileOperations { get; }
/// <summary>
/// View detailed information on freelancers, and retrieve a list of all freelancers employed by an employer.
/// </summary>
IFreelancerOperations FreelancerOperations { get; }
/// <summary>
/// List Elance groups, and retrieve lists of members and jobs belonging to a group.
/// </summary>
IGroupOperations GroupOperations { get; }
/// <summary>
/// Obtain ancillary Elance information, such as the current list of all job categories.
/// </summary>
IUtilityOperations UtilityOperations { get; }
}我无论如何也弄不明白为什么它会告诉我这些。我是不是漏掉了什么明显的东西?我非常感谢关于这个错误的任何指导。
发布于 2013-03-24 00:46:10
这可能是由于IApiBinding或它的某个基接口不是public造成的。另一种可能是接口成员使用的类型之一不是公共的。
https://stackoverflow.com/questions/15589312
复制相似问题