now it runs the normal and the admin

This commit is contained in:
2023-05-11 22:03:34 +03:00
parent 6453f6f9d3
commit 7a9c05bfc4
435 changed files with 1916 additions and 365 deletions

29
Runas/Prog.cs Normal file
View 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;
}
}
}