Exemplo n.º 1
0
    public static void LogResource(Resource res)
    {
        System.Console.WriteLine("-----------------");
        System.Console.WriteLine("Resource : "+res.Reference);
        System.Console.WriteLine("Resource quantity : "+res.Quantity);

        System.Console.WriteLine("Resource is in bundle : "+res.IsInBundle());

        if( res.IsInBundle() )
        {
            System.Console.WriteLine("Resource bundle : "+res.BundleReference);
        }

        System.Console.WriteLine("-----------------");
    }