/// <summary> /// 初始化资源系统 /// 注意:在使用AssetSystem之前需要初始化 /// </summary> public static void Initialize(bool simulationOnEditor, int loadingMaxNumber, IDecryptionServices decryptionServices, IBundleServices bundleServices) { _simulationOnEditor = simulationOnEditor; _loadingMaxNumber = loadingMaxNumber; DecryptionServices = decryptionServices; BundleServices = bundleServices; }
public LoanServices(EmailManagerContext context, IEncryptionServices securityEncrypt, IDecryptionServices decrypt, IEncryptionServices encrypt, IEmailService emailService) { this._context = context; this._decrypt = decrypt; this._encrypt = encrypt; this._emailService = emailService; }
public EmailService(EmailManagerContext context, IDecryptionServices decrypt) { this._context = context ?? throw new ArgumentNullException(nameof(context)); this._decrypt = decrypt; }