private void ApplyOptions(TwisonStory story, TwisonLoaderOptions options) { var utility = new TwisonUtility(); if (options.removeLinkTextFromPassages) { utility.RemoveLinksFromPassages(story); } if (options.collapseNewLines) { utility.CollapseNewLines(story, options.maxNewLineChain); } if (options.trimPassages) { utility.TrimPassages(story); } }
public TwisonLoader(TwisonLoaderOptions options) { _options = options; }
public TwisonLoader() { _options = TwisonLoaderOptions.GetDefaultOptions(); }