コード例 #1
0
        public void Load(RSFileReader R)
        {
            byte tag = 0;

            Names = null;

            while ((tag = R.ReadByte()) != 0)
            {
                switch (tag)
                {
                case 10:
                    NamingType = (GVFlowOutNaming)R.ReadInt32();
                    break;

                case 20:
                    int count = R.ReadInt32();
                    Names = new string[count];
                    for (int i = 0; i < count; i++)
                    {
                        Names[i] = R.ReadString();
                    }
                    break;
                }
            }
        }
コード例 #2
0
 public GVDeclarationFlowOut(GVDeclarationFlowOut baseFlow, params string[] names)
 {
     NamingType = GVFlowOutNaming.Selection;
     if (baseFlow != null && baseFlow.NamingType == GVFlowOutNaming.Selection)
     {
         Names = new string[names.Length + baseFlow.Names.Length];
         Array.Copy(baseFlow.Names, Names, baseFlow.Names.Length);
         Array.Copy(names, 0, Names, baseFlow.Names.Length, names.Length);
     }
     else
     {
         Names = names;
     }
 }
コード例 #3
0
 public GVDeclarationFlowOut(params string[] names)
 {
     NamingType = GVFlowOutNaming.Selection;
     Names      = names;
 }
コード例 #4
0
 public GVDeclarationFlowOut(GVFlowOutNaming anyText)
 {
     NamingType = anyText;
 }