var nodeVm = _factory.CreateNewRichText(readFile);
this.PositionNode(nodeVm, 100, 100);
NodeViewModelList.Add(nodeVm);
AtomViewList.Add(nodeVm.View);
Add StreamReader to Factory and pass in the file in our case the file was called 'paragraph'
using (Stream s =
typeof(NuSysApp.App).GetTypeInfo()
.Assembly.GetManifestResourceStream("NuSysApp.Assets.paragraph.nusys"))
{
StreamReader reader = new StreamReader(s);
c = reader.ReadToEnd();
Debug.WriteLine(c);
}
Trent is the most magnificent man in the world.