Mercurial > hg > Database > Christie-sharp
comparison codegear/InputDataGear.cs @ 51:486683ead53f
bug survey
author | riono <e165729@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 11 Jan 2022 20:02:18 +0900 |
parents | 96fc5e71274e |
children |
comparison
equal
deleted
inserted
replaced
50:476b6efeca5b | 51:486683ead53f |
---|---|
59 BindingFlags.DeclaredOnly | BindingFlags.Instance)) { | 59 BindingFlags.DeclaredOnly | BindingFlags.Instance)) { |
60 if (Attribute.IsDefined(field, typeof(Take)) || Attribute.IsDefined(field, typeof(TakeFrom)) || | 60 if (Attribute.IsDefined(field, typeof(Take)) || Attribute.IsDefined(field, typeof(TakeFrom)) || |
61 Attribute.IsDefined(field, typeof(Peek)) || Attribute.IsDefined(field, typeof(PeekFrom))) { | 61 Attribute.IsDefined(field, typeof(Peek)) || Attribute.IsDefined(field, typeof(PeekFrom))) { |
62 try { | 62 try { |
63 field.SetValue(cg, TypeCheck(field.Name)); | 63 field.SetValue(cg, TypeCheck(field.Name)); |
64 } catch {} | 64 } catch { } |
65 } | 65 } |
66 } | 66 } |
67 } | 67 } |
68 | 68 |
69 public Object TypeCheck(string key) { | 69 public Object TypeCheck(string key) { |