public string PostInput([FromBody] User_Input user_Input) { Type t1 = user_Input.GetType(); PropertyInfo propertyInfo = t1.GetProperty("Email"); propertyInfo.SetValue(user_Input, "1111"); return("我是测试"); }
// Start is called before the first frame update void Start() { List <string> deck = Solitaire.GenerateDeck(); solitaire = FindObjectOfType <Solitaire>(); user_Input = FindObjectOfType <User_Input>(); int i = 0; foreach (string card in deck) { if (this.name == card) { cardFace = solitaire.cardFaces[i]; break; } i++; } spriteRenderer = GetComponent <SpriteRenderer>(); selectable = GetComponent <Selectable>(); }
// added by ram public void CreateUser(User_Input input) { var db = new StoredProcContext(); db.UserCreate.CallStoredProc(input); }
public string PostInput(User_Input user_Input) { return(""); }