Exemplo n.º 1
0
 public static Company Company(string id, TelemetryDataSinkSettings telemetryDataSinkSettings)
 {
     return(new Company
     {
         Id = id,
         TelemetryDataSinkSettings = telemetryDataSinkSettings
     });
 }
Exemplo n.º 2
0
        public CompanyTableEntity(PartionKeyRowKeyPair partitionKeyRowKeyPair, string name, IList <SmallUser> users)
        {
            PartitionKey = partitionKeyRowKeyPair.PartitionKey;
            RowKey       = partitionKeyRowKeyPair.RowKey;

            Name  = name;
            Users = users;
            TelemetryDataSinkSettings = new TelemetryDataSinkSettings();
        }
Exemplo n.º 3
0
        public ServiceTableEntity(PartionKeyRowKeyPair partitionKeyRowKeyPair, string name, string companyId, string apiKey)
        {
            PartitionKey = partitionKeyRowKeyPair.PartitionKey;
            RowKey       = partitionKeyRowKeyPair.RowKey;

            Name      = name;
            CompanyId = companyId;
            ApiKey    = apiKey;
            TelemetryDataSinkSettings = new TelemetryDataSinkSettings();
        }
Exemplo n.º 4
0
 public static Service Service(string id, string apiKey, string companyId,
                               TelemetryDataSinkSettings telemetryDataSinkSettings)
 {
     return(new Service
     {
         Id = id,
         ApiKey = apiKey,
         CompanyId = companyId,
         TelemetryDataSinkSettings = telemetryDataSinkSettings
     });
 }
Exemplo n.º 5
0
        public NetworkTableEntity(PartionKeyRowKeyPair partitionKeyRowKeyPair, string name, string parentNetworkId, string serviceId, string companyId, string networkKey)
        {
            PartitionKey = partitionKeyRowKeyPair.PartitionKey;
            RowKey       = partitionKeyRowKeyPair.RowKey;

            Name                      = name;
            ParentNetworkId           = parentNetworkId;
            ServiceId                 = serviceId;
            CompanyId                 = companyId;
            NetworkKey                = networkKey;
            TelemetryDataSinkSettings = new TelemetryDataSinkSettings();
        }
Exemplo n.º 6
0
 public static Network Network(string id, string networkKey, string parentNetworkId, string serviceId, string companyId, TelemetryDataSinkSettings telemetryDataSinkSettings)
 {
     return(new Network
     {
         Id = id,
         NetworkKey = networkKey,
         ParentNetworkId = parentNetworkId,
         ServiceId = serviceId,
         CompanyId = companyId,
         TelemetryDataSinkSettings = telemetryDataSinkSettings
     });
 }