public MedinaMotif(MedinaMotifBuilder builder) { Name = builder.Name; GhArchive = builder.GhArchive; GhDoc = builder.GhDoc; Inputs = builder.Inputs; Output = builder.Output; }
public static MedinaMotif LoadMotif(string path, string name) { var builder = new MedinaMotifBuilder(); var motif = builder.CreateMotif(name) .FromGhx(path) .FindInputs() .FindOutputs(); return(motif); }