An alternative to UBB.threads
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
FLocal/MySQLConnector/ParamsHolder.cs

23 lines
435 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MySQLConnector {
class ParamsHolder {
public Dictionary<string, string> data = new Dictionary<string,string>();
private int index = 1;
public string Add(string value) {
lock(this) {
string name = "param" + index;
this.data.Add(name, value);
this.index++;
return name;
}
}
}
}