Exemplo n.º 1
0
 public static ProfileDefinition NewDefinition(string name, IModuleDataSet moduleDataSet, params Fixture[] fixtures)
 {
     ProfileDefinition profileDefinition = new ProfileDefinition();
     profileDefinition.ModuleDataSet = moduleDataSet ?? profileDefinition.ModuleDataSet;
     profileDefinition._fixtures = new LinkedList<Fixture>(fixtures);
     profileDefinition.Save(Path.Combine(_profileDefinitionDirectory, name + FILE_EXT));
     return profileDefinition;
 }
        static public ProfileDefinition NewDefinition(string name, IModuleDataSet moduleDataSet, params Fixture[] fixtures)
        {
            ProfileDefinition profileDefinition = new ProfileDefinition();

            profileDefinition.ModuleDataSet = moduleDataSet ?? profileDefinition.ModuleDataSet;
            profileDefinition._fixtures     = new LinkedList <Fixture>(fixtures);
            profileDefinition.Save(Path.Combine(_profileDefinitionDirectory, name + FILE_EXT));
            return(profileDefinition);
        }