public SuggestionEntity(int steamAppId, int hltbId, string appType = null) : base(AppEntity.GetPartitionKey(steamAppId), GetRowKey(steamAppId, hltbId)) { SteamAppId = steamAppId; HltbId = hltbId; AppType = appType; }
public ProcessedSuggestionEntity([NotNull] SuggestionEntity suggestion) { //we don't call the ctor above because we want to verify the 'suggestion' parameter before it's used if (suggestion == null) { throw new ArgumentNullException(nameof(suggestion)); } SteamAppId = suggestion.SteamAppId; HltbId = suggestion.HltbId; AppType = suggestion.AppType; PartitionKey = AppEntity.GetPartitionKey(SteamAppId); RowKey = GetRowKey(SteamAppId, HltbId, AppType); }
public static string[] GetPartitions() { return(AppEntity.GetPartitions()); }