public RuntimeFieldInfo AddField(string name, Type fieldType) { var field = new RuntimeFieldInfo(name, fieldType, this); _fieldInfos.Add(field); return(field); }
public RuntimeFieldInfo AddField <T>(string name) { var field = new RuntimeFieldInfo <T>(name, this); _fieldInfos.Add(field); return(field); }