0

这是显示错误的行:

public IOAuth2ServiceProvider<IElance> ElanceServiceProvider { get; set; }

它在该行的 Type 上显示错误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; }
    }

我一辈子都想不通它为什么要告诉我这个。我错过了一些明显的东西吗?我将不胜感激有关此错误的任何方向。

4

1 回答 1

0

这可能是由于IApiBinding其基本接口之一不是public. 另一种可能性是接口成员使用的类型之一不是公共的。

于 2013-03-23T16:46:10.493 回答