Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find any good example with how to: use MMFPile #1

Open
xpandsoftware opened this issue Feb 8, 2018 · 1 comment
Open

Can't find any good example with how to: use MMFPile #1

xpandsoftware opened this issue Feb 8, 2018 · 1 comment

Comments

@xpandsoftware
Copy link

xpandsoftware commented Feb 8, 2018

documentation/examples/videos - all talking about advantages, but where is simple working examples?
i have tried to use this... unfortunately it doesn't work for me:

    DefaultPileBase xPile = null;
            if (!useMemoryFilePile) xPile = new DefaultPile();
            else
            {
                var ipile = (xPile = new MMFPile(null)) as MMFPile;
                if (!System.IO.Directory.Exists(DataDirectory.Value)) System.IO.Directory.CreateDirectory(DataDirectory.Value);
                ipile.DataDirectoryRoot = DataDirectory.Value;
            }

then, when i am trying to check list of objects in xPile:
xPile.FirstOrDefault(e => e.Valid) <= null reference exception

sorry, just have found what is going wrong, "Configure" & "Start" methods have to be executed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants