How to get Sandcastle to include inherited propert

2019-07-29 10:07发布

问题:

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:

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