public override void LoadCommand(Whee.WordBuilder.ProjectV2.IProjectSerializer serializer) { m_lineNumber = serializer.LineNumber; ProjectV2.TranslationBlockNode tbn = new ProjectV2.TranslationBlockNode(serializer); Children.Add(tbn); foreach (ProjectV2.TranslationNode item in tbn.Children) { _stringmapping.Add(item.Source.ToArray(), item.Destination.ToArray()); } }
public override void LoadCommand(Whee.WordBuilder.ProjectV2.IProjectSerializer serializer) { m_lineNumber = serializer.LineNumber; ProjectV2.TranslationBlockNode tbn = new ProjectV2.TranslationBlockNode(serializer); Children.Add(tbn); foreach (ProjectV2.TranslationNode item in tbn.Children) { _stringmapping.Add(item.Source.ToArray(), item.Destination.ToArray()); } }