public ProductsController(V8Context context, UserManager<V8User> userManager, IHttpContextAccessor session)
        {
            _context = context;
            _userManager = userManager;
            _session = session;

        }
Exemplo n.º 2
0
 static void Faulted(object sender, EventArgs e)
 {
     V8Context.CreateV8Context().AsyncEvent.ExternalEvent("Debug", "Faulted", "Faulted");
     Inited = false;
     InitService();
 }
Exemplo n.º 3
0
 public void MyPhoneStatusChanged(OnMyPhoneStatusChanged onMyPhoneStatusChanged)
 {
     V8Context.CreateV8Context().AsyncEvent.ExternalEvent("3CXPhonePlugin", "OnMyPhoneStatusChanged", convertToJSON(onMyPhoneStatusChanged, typeof(OnMyPhoneStatusChanged)));
 }
Exemplo n.º 4
0
 public void ProfileExtendedStatusChanged(ProfileExtendedStatusChanged profileExtendedStatusChanged)
 {
     V8Context.CreateV8Context().AsyncEvent.ExternalEvent("3CXPhonePlugin", "ProfileExtendedStatusChanged", convertToJSON(profileExtendedStatusChanged, typeof(ProfileExtendedStatusChanged)));
 }
Exemplo n.º 5
0
 public void CurrentProfileChanged(CurrentProfileChanged currentProfileChanged)
 {
     V8Context.CreateV8Context().AsyncEvent.ExternalEvent("3CXPhonePlugin", "CurrentProfileChanged", convertToJSON(currentProfileChanged, typeof(CurrentProfileChanged)));
 }
Exemplo n.º 6
0
 public MyProductsController(V8Context context, UserManager <V8User> userManager)
 {
     _context     = context;
     _userManager = userManager;
 }
Exemplo n.º 7
0
 public SalesController(V8Context context)
 {
     _context = context;
 }