internal static IApplicationWrapper Instance() { if (_instance == null) { _instance = new ApplicationWrapper(); } return(_instance); }
public ControllerContext( ISessionWrapper session, IApplicationWrapper application, IRequestWrapper request, IResponseWrapper response) { Session = session; Application = application; Request = request; Response = response; }
public ShellViewModel(IEventAggregator events, ISnackbarMessageQueue snackbarMessageQueue, IApplicationWrapper applicationWrapper, RDCSessionViewModel rdcSessionVM, RDCCollectionViewModel rdcCollectionVM, RDCUserAccountsViewModel rdcUserAccountsVM, RDCGroupsViewModel rdcGroupsVM) { DisplayName = "RDC Manager"; _applicationWrapper = applicationWrapper; _events = events; _events.Subscribe(this); SnackbarMessageQueue = snackbarMessageQueue; RDCSessionVM = rdcSessionVM; RDCCollectionVM = rdcCollectionVM; RDCUserAccountsVM = rdcUserAccountsVM; RDCGroupsVM = rdcGroupsVM; ShowRDCList(); }
//Init is called after all of the plugins/modules have been loaded. At this point you need to provide a reference to your application wrapper and any //extra methods you want to expose to the API. public override void Init(out IApplicationWrapper Application, out WebMethodsBase APIMethods) { app = new FiveMApp(this); Application = app; APIMethods = null; }
public ApplicationHandler(IApplicationWrapper app) { _app = app; }
public static List <string> MapList(object context, IApplicationWrapper app) => new List <string>() { "Procedural Map", "Barren", "HapisIsland", "SavasIsland", "SavasIsland_koth" };
//Init is called after all of the plugins/modules have been loaded. At this point you need to provide a reference to your application wrapper and any //extra methods you want to expose to the API. public override void Init(out IApplicationWrapper Application, out WebMethodsBase APIMethods) { app = new RustApp(this); Application = app; APIMethods = new WebMethods(this); }
public AppDataService(IApplicationWrapper applicationWrapper) { _applicationWrapper = applicationWrapper; }