/// <summary> /// Sets the configuration to match the provided configuration. /// </summary> /// <remarks> /// <para> /// The <paramref name="config"/> parameter will be cleaned during this operation. /// </para> /// </remarks> /// <param name="config">The configuration to match.</param> public void SetConfig(NMGenParams config) { if (config == null) { return; } mRoot = config.Clone(); mRoot.Clean(); UpdateLocalsFrom(mRoot); }
public void Clean() { mRoot.Clean(); UpdateLocalsFrom(mRoot); }