/// <summary> /// Saves an archetype to the archetype repository. An existing archetype will not be updated, you should save the archetype as a new version. /// </summary> /// <param name="archetype">The text form of the archetype. This can be in adl format or xml format.</param> public void Save(string archetype) { var parser = _parserFactory.GetArchetypeParser(archetype, null); this.Save(parser.Parse(archetype)); }