Dec. 27th, 2009

pechkin: (Default)
Выскочила преинтереснейшая ошибка компилляции: Error 8 'System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Motorola.DVR.Services.ICameraControlServiceCallback>>' does not contain a definition for 'Count' and no extension method 'Count' accepting a first argument of type 'System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Motorola.DVR.Services.ICameraControlServiceCallback>>' could be found (are you missing a using directive or an assembly reference?) Z:\KERNEL\LCD_UI\Code\Motorola.DVR.DVRPlayer\ExternalSources\DvrMain.Stub\Presenters\CameraControlServiceStubPresenter.cs 21 71 DVRMain.Stub Надо было: в голову файла, где описывается метод
protected override int GetSubscribedClientsCount()
        {
            return (SvcInstance as CameraControlServiceStub).SubscribedClients.Count();
        }
добавить using System.Linq;.

June 2025

S M T W T F S
1234567
8 910111213 14
15 16 1718 192021
22232425262728
29 30     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 7th, 2025 10:09 pm
Powered by Dreamwidth Studios