SensorShare.ServerData.ServerData C# (CSharp) Method

ServerData() public method

public ServerData ( System.Guid id, String name, String location, String description, SensorDescriptionsData sensors, byte pictureBytes ) : System
id System.Guid
name String
location String
description String
sensors SensorDescriptionsData
pictureBytes byte
return System
        public ServerData(Guid id, String name, String location, String description, 
            SensorDescriptionsData sensors, byte[] pictureBytes)
        {
            this.id = id;
             this.name = name;
             this.location = location;
             this.description = description;
             this.pictureBytes = pictureBytes;
             foreach (SensorDefinition sensorDef in sensors)
             {
            this.sensors.Add(sensorDef);
             }
        }