now it runs the normal and the admin
This commit is contained in:
29
Runas/Prog.cs
Normal file
29
Runas/Prog.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using LiteDB;
|
||||
namespace Runas
|
||||
{
|
||||
internal class Prog
|
||||
{
|
||||
private BsonMapper mapper = BsonMapper.Global;
|
||||
private void m()
|
||||
{
|
||||
mapper.Entity<Prog>().
|
||||
Field(x => x.File, "File").Field(x => x.Arguments, "Arguments");
|
||||
}
|
||||
internal string File { get; set; }
|
||||
internal string? Arguments { get; set; }
|
||||
internal string _id { get; }
|
||||
public Prog() { }
|
||||
[BsonCtor]
|
||||
public Prog(string _id,string File, string Arguments) {
|
||||
this._id = _id;
|
||||
this.File = File;
|
||||
this.Arguments = Arguments;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user