Пример #1
0
        public static V0 TryFrom(string v)
        {
            V0 v0 = new V0();

            v0._charList.Clear();
            v0._charList.AddRange(Parser(v));
            v0._v0Str = v;
            return(v0);
        }
Пример #2
0
        public static E0 From(string v0, string v1, string v2, string v3)
        {
            try {
                return(new E0 {
                    v1 = string.IsNullOrEmpty(v1) ? 0 : uint.Parse(v1),
                    v2 = string.IsNullOrEmpty(v2) ? 0 : uint.Parse(v2),
                    v3 = string.IsNullOrEmpty(v3) ? (char)0 : char.Parse(v3),
                    v0 = V0.TryFrom(v0)
                });
            } catch {
                // ignored
            }

            return(null);
        }