public static SmartTree GetInstance(ICustomCollections <Toy> collections) { return(new SmartTree(collections)); }
public SmartTree(ICustomCollections <Toy> collections) { _toysMass = collections; }