首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >是否由于保护级别而无法访问属性?

是否由于保护级别而无法访问属性?
EN

Stack Overflow用户
提问于 2013-03-24 00:43:20
回答 1查看 710关注 0票数 0

这是显示错误的行:

代码语言:javascript
复制
public IOAuth2ServiceProvider<IElance> ElanceServiceProvider { get; set; }

它在该行的IElance类型上显示了错误,但这里是接口:

代码语言:javascript
复制
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; }
    }

我无论如何也弄不明白为什么它会告诉我这些。我是不是漏掉了什么明显的东西?我非常感谢关于这个错误的任何指导。

EN

回答 1

Stack Overflow用户

发布于 2013-03-24 00:46:10

这可能是由于IApiBinding或它的某个基接口不是public造成的。另一种可能是接口成员使用的类型之一不是公共的。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15589312

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档