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; } } }
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; } }
public GVDeclarationFlowOut(params string[] names) { NamingType = GVFlowOutNaming.Selection; Names = names; }
public GVDeclarationFlowOut(GVFlowOutNaming anyText) { NamingType = anyText; }