I am getting CS053 Inconsistent accessibility on some of these.
I can get the first 2 of them to work. LMDP
& DP
are fine, the remainder have the error associated with them.
Here's the error
Severity Code Description Project File Line Suppression State Error CS0053 Inconsistent accessibility: property type List<MDBModel>
is less accessible than property PowerDistributionModel.MDB MasterCalcLibrar
namespace MasterCalcLibrary
{
public class PowerDistributionModel
{
public List<LMDPModel> LMDP { get; set; } = new List<LMDPModel>();
public List<LMDPModel> DP { get; set; } = new List<LMDPModel>();
public List<MDBModel> MDB { get; set; } = new List<MDBModel>();
public List<MCPModel> MCP { get; set; } = new List<MCPModel>();
public List<Manifestmodel> Manifest { get; set; } = new List<Manifestmodel>();
public List<VFDModel> VFD { get; set; } = new List<VFDModel>();
public List<TRCPModel> TRCP { get; set; } = new List<TRCPModel>();
public List<URCPModel> URCP { get; set; } = new List<URCPModel>();
public List<SRCPModel> SRCP { get; set; } = new List<SRCPModel>();
}
}