这是错误显示的行:
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; }
}
我不能为我的生活弄清楚为什么它告诉我这个。我错过了一些明显的东西吗我非常感谢这个错误的任何方向。
答案 0 :(得分:0)
这可能是由IApiBinding
或其中一个基接口不是public
引起的。另一种可能性是接口成员使用的类型之一不公开。