/// <summary>
 /// Initializes a new instance of the <see cref="DataRepository"/> class.
 /// </summary>
 public DataRepository(TeamSpeakConnection connection, InstanceSettings settings)
 {
     Connection = connection;
     Settings = settings;
     Container = new DataContainer(this.Settings.Name);
     Channel = new ChannelData(this);
     Client = new ClientData(this);
     Compliant = new CompliantData(this);
     File = new FileData(this);
     Server = new ServerData(this);
     Static = new StaticData(this);
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataRepository"/> class.
 /// </summary>
 public DataRepository(TeamSpeakConnection connection, InstanceSettings settings)
 {
     Connection = connection;
     Settings   = settings;
     Container  = new DataContainer(this.Settings.Name);
     Channel    = new ChannelData(this);
     Client     = new ClientData(this);
     Compliant  = new CompliantData(this);
     File       = new FileData(this);
     Server     = new ServerData(this);
     Static     = new StaticData(this);
 }