Skip to content

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

@xpandsoftware

Description

@xpandsoftware

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions