public async Task <ActionResult> ExternalCall() { Trace.WriteLine("ExternalCall()", "Events"); await ExternalCallHandler.ProcessEvent(ViewBag.Event, Url, HttpContext, ViewBag); return(Json(new object())); }
private void ctor(string name) { if (name.IsNullOrWhiteSpace()) { name = Guid.NewGuid().ToString(); } m_Name = name; m_ManagementEvent = new Time.Event(App.EventTimer, "MongoClient('{0}'::{1})".Args(m_Name, Guid.NewGuid().ToString()), e => managementEventBody(), MANAGEMENT_INTERVAL); m_ExternalCallHandler = new ExternalCallHandler <MongoClient>(App, this, null, typeof(Instrumentation.DirectDb) ); }
public MinIdpMongoDbStore(IApplicationComponent dir) : base(dir) { m_ExternalCallHandler = new ExternalCallHandler <MinIdpMongoDbStore>(App, this, null, typeof(Instrumentation.ListRoles), typeof(Instrumentation.GetRole), typeof(Instrumentation.SetRole), typeof(Instrumentation.DropRole), typeof(Instrumentation.ListUsers), typeof(Instrumentation.GetUser), typeof(Instrumentation.SetUser), typeof(Instrumentation.DropUser), typeof(Instrumentation.ListLogins), typeof(Instrumentation.GetLogin), typeof(Instrumentation.SetLogin), typeof(Instrumentation.DropLogin) ); }
public WebClientStore(IApplicationComponent dir) : base(dir) { m_Handler = new ExternalCallHandler <WebClientStore>(App, this, null, typeof(Exec)); }
private void ctor() { m_ExternalCallHandler = new ExternalCallHandler <MySqlDataStoreBase>(App, this, null, typeof(Instrumentation.DirectSql) ); }