0

これは、エラーが表示されている行です。

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; }
    }

なぜそれが私にこれを言っているのか、私には一生理解できません。明らかな何かが欠けていますか?このエラーに関するご指示をいただければ幸いです。

4

1 に答える 1

0

これは、IApiBindingまたはその基本インターフェイスの 1 つが ではないことが原因である可能性がありますpublic。もう 1 つの可能性は、インターフェイス メンバーによって使用される型の 1 つがパブリックでないことです。

于 2013-03-23T16:46:10.493 に答える