Exemplo n.º 1
0
        protected CommunityDistributeServiceBase(Settings settings, DatabaseContext dbContext, IZaloImageProcessing zaloImageProcessing, ZaloAdbRequest ZaloAdbRequest)
        {
            if (settings == null)
            {
                throw new ArgumentNullException(nameof(settings));
            }

            if (string.IsNullOrWhiteSpace(settings.AndroidDebugBridgeOsWorkingLocation))
            {
                throw new ArgumentException("Must declare AndroidDebugBridge Os Location");
            }

            ZaloImageProcessing = zaloImageProcessing;

            Settings = settings;

            DbContext = dbContext;

            this.ZaloAdbRequest = ZaloAdbRequest;
        }
Exemplo n.º 2
0
 public ZaloLoginService(Settings settings, DatabaseContext dbContext, IZaloImageProcessing zaloImageProcessing, ZaloAdbRequest zaloAdbRequest)
     : base(settings, dbContext, zaloImageProcessing, zaloAdbRequest)
 {
 }