public static string GetCoverUrl(this IStoreApplication application, CdnAssetFormat format = default, int?size = null) { var coverHash = application.CoverHash; return(coverHash != null ? Discord.Cdn.GetApplicationCoverUrl(application.Id, coverHash, format, size) : null); }
public SubmitApplication(ICfChecker cfChecker, IGetActiveApplicationsByFiscalCode getActiveApplicationsByFiscalCode, IPinBuilder pinBuilder, IStoreApplication storeApplication) { this.cfChecker = cfChecker ?? throw new ArgumentNullException(nameof(cfChecker)); this.getActiveApplicationsByFiscalCode = getActiveApplicationsByFiscalCode ?? throw new ArgumentNullException(nameof(getActiveApplicationsByFiscalCode)); this.pinBuilder = pinBuilder ?? throw new ArgumentNullException(nameof(pinBuilder)); this.storeApplication = storeApplication ?? throw new ArgumentNullException(nameof(storeApplication)); }
public AccountController( IRequestInfoService info, IStoreApplication storeApp, IApplicationStoreApplication appStoreApp, ITransferTokenApplication transferTokenApp, IAccountResetPasswordTokenApplication resetPasswordTokenApp, IResetSMSTokenApplication resetSMSTokenApplication, IAccountApplication accountApp) : base(info) { this.accountApp = accountApp; this.storeApp = storeApp; this.appStoreApp = appStoreApp; this.transferTokenApp = transferTokenApp; this.resetPasswordTokenApp = resetPasswordTokenApp; this.resetSMSTokenApplication = resetSMSTokenApplication; }
public ValuesController(IStoreApplication storeApplication) { this.storeApplication = storeApplication; }
public ApplicationStoreController(IRequestInfoService info, IStoreApplication storeApp, IApplicationStoreApplication appStore) : base(info) { this.storeApp = storeApp; this.appStore = appStore; }
public StoreController(IRequestInfoService info, IStoreApplication storeApp) : base(info) => this.storeApp = storeApp;