Hallo leute ich bekomme eine Fehlermeldung vom Compiler.
Fehler 1 Inkonsistenter Zugriff: Parametertyp "System.Collections.Generic.Dictionary<System.Guid, ClientInfomation>" ist weniger zugreifbar als Methode "Assembly.CommandShell.wCalc (System.Collections.Generic.Dictionary<System.Guid,ClientInfomation>)"
public partial class ConnectionManager : Form
{
public ConnectionManager()
{
InitializeComponent();
}
SettingsForm FormSettings;
Dictionary<Guid, ClientInfomation> SelectedClients = new Dictionary<Guid, ClientInfomation>();
bool SelectedMultiClient = true;
}
public partial class CommandShell : Form
{
Dictionary<Guid, ClientInfomation> Clients;
int LineCounter = 0;
public CommandShell(Dictionary<Guid, ClientInfomation> Clients)
{
this.Clients = Clients;
InitializeComponent();
}
}
Mit dem modifzieren habe ich meiner meinung nach nix falsch gemacht. Wo liegt das Problem ?
liegt wahrscheinlich an der ClientInfomation Klasse. ist die als public deklariert?