How to get Sandcastle to include inherited propert

2019-07-29 09:55发布

I have 2 POCO classes for my view model:

public class BaseView
{
    public int Id { get; set; }

    public string Name { get; set; }
}

and

public class FullView : BaseView
{
    public string Reference { get; set; }

    public bool IsActive { get; set; }
}

When I generate a CHM help file using Sandcastle (2014.5.31.0) both are included but the FullView only shows it's 2 properties.

How can I get it to include the BaseView properties that it is inheriting?

1条回答
冷血范
2楼-- · 2019-07-29 10:56

Right click the Sandcastle project > Properties > Visibility > Inherited Base Class Members

sandcastle screenshot

查看更多
登录 后发表回答