protected TRatesPreset GetPreset <TRatesPreset>() where TRatesPreset : BaseRatesPreset, new() { if (Api.IsServer) { return(null); } return(ClientRatesPresetsManager.GetInstance <TRatesPreset>()); }
static BaseRatesPreset() { ClientRatesPresetsManager.EnsureInitialized(); }