static void Main(string[] args)
    {
        PersistentGenericBag <Foo> magicBag = myMagic <Foo>();

        // call your generic which do some general list related stuff
        MyGeneric <Foo> .trigger(list);

        // call your none generic which do some foo related stuff
        MyNONEGeneric.trigger(list);
    }
Exemplo n.º 2
0
 public Customer()
 {
     Orders = new PersistentGenericBag <Order>();
 }