public ShredHostClientUI()
        {
            _shredHostProxy  = new ShredHostClient();
            _shredCollection = new ShredCollection();

            WcfDataShred[] shreds = _shredHostProxy.GetShreds();
            foreach (WcfDataShred shred in shreds)
            {
                _shredCollection.Add(new Shred(shred._id, shred._name, shred._description, shred._isRunning));
            }
        }
Exemple #2
0
        public ShredHostClientUI()
        {

            _shredHostProxy = new ShredHostClient();
            _shredCollection = new ShredCollection();
            
            WcfDataShred[] shreds = _shredHostProxy.GetShreds();
            foreach (WcfDataShred shred in shreds)
            {
                _shredCollection.Add(new Shred(shred._id, shred._name, shred._description, shred._isRunning));
            }

        }