示例#1
0
 public DType Accept(TBool type, IEnumerable <ExcelStream> x, bool y, DefAssembly ass)
 {
     throw new NotImplementedException();
 }
 public DType Accept(TBool type, object x, DefAssembly ass)
 {
     return(DBool.ValueOf((bool)x));
 }
 public string Accept(TBool type, string fieldName, string tablesName)
 {
     throw new NotImplementedException();
 }
示例#4
0
 public string Accept(TBool type, string json, string field)
 {
     return(DefaultLoad(json, field));
 }
 public void Accept(TBool type, HashSet <DefTypeBase> x)
 {
 }
示例#6
0
 public string Accept(TBool type, string bufName, string fieldName)
 {
     return($"{bufName}.WriteBool({fieldName});");
 }
 public virtual void Accept(TBool type, T x)
 {
 }
示例#8
0
 public string Accept(TBool type)
 {
     return("BOOL");
 }
示例#9
0
 public DType Accept(TBool type, XElement x, DefAssembly ass)
 {
     return(new DBool(bool.Parse(x.Value.Trim().ToLower())));
 }
示例#10
0
 public override string Accept(TBool type)
 {
     return("Boolean");
 }
示例#11
0
 public virtual string Accept(TBool type)
 {
     return(type.IsNullable ? "Boolean" : "boolean");
 }
示例#12
0
 public string Accept(TBool type, string json, string x)
 {
     return($"{x} = {json}.GetBoolean();");
 }
示例#13
0
 public DType Accept(TBool type, JsonElement x, DefAssembly ass)
 {
     return(new DBool(x.GetBoolean()));
 }
示例#14
0
 public void Accept(TBool type, HashSet <string> x)
 {
 }
示例#15
0
 public string Accept(TBool type, string jsonVarName, string fieldName)
 {
     return($"{fieldName} = {jsonVarName};");
 }
示例#16
0
 public bool Accept(TBool type, TType x, Dictionary <DefTypeBase, bool> y, HashSet <DefTypeBase> z)
 {
     return(true);
 }
示例#17
0
 public virtual TR Accept(TBool type)
 {
     return DoAccept(type);
 }
示例#18
0
 public string Accept(TBool type, string fieldName, string logType)
 {
     return($"{fieldName} = default;");
 }
 public string Accept(TBool type, string bufName, string fieldName)
 {
     return($"{fieldName} = {bufName}.ReadBool()");
 }
示例#20
0
 public DType Accept(TBool type, object x, DefAssembly ass)
 {
     return(new DBool((bool)x));
 }
 public void Accept(TBool type, Dictionary <string, DefTypeBase> x)
 {
 }
示例#22
0
 public virtual void Accept(TBool type, T x)
 {
     DoAccept(type, x);
 }
示例#23
0
 public string Accept(TBool type)
 {
     return("bool");
 }
示例#24
0
 public string Accept(TBool type, string x)
 {
     return($"{x} == true");
 }