Exemple #1
0
 public MedinaMotif(MedinaMotifBuilder builder)
 {
     Name      = builder.Name;
     GhArchive = builder.GhArchive;
     GhDoc     = builder.GhDoc;
     Inputs    = builder.Inputs;
     Output    = builder.Output;
 }
Exemple #2
0
        public static MedinaMotif LoadMotif(string path, string name)
        {
            var builder = new MedinaMotifBuilder();

            var motif = builder.CreateMotif(name)
                        .FromGhx(path)
                        .FindInputs()
                        .FindOutputs();

            return(motif);
        }