Submoduling BotanSS, Reg Draft

This commit is contained in:
2016-02-12 00:16:42 +08:00
commit 0f2ca2e162
17 changed files with 715 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
"use strict";
var cl = global.botanLoader;
var Dragonfly = global.Dragonfly;
var qstr = cl.load( "notifysrv.utils.querystr" );
class EventArgs
{
constructor()
{
this.Handled = false;
}
}
module.exports = EventArgs;

View File

@@ -0,0 +1,23 @@
"use strict";
var cl = global.botanLoader;
var Dragonfly = global.Dragonfly;
var qstr = cl.load( "notifysrv.utils.querystr" );
var EventArgs = cl.load( "notifysrv.eventargs.eventargs" );
class PostRequestEventArgs extends EventArgs
{
constructor( QueryString )
{
super();
this.Raw = QueryString;
}
get Data()
{
return qstr.queryStr( this.Raw );
}
}
module.exports = PostRequestEventArgs;