Why am I getting this error?

Topics: Customizing Orchard, Troubleshooting, Writing modules
Dec 2, 2011 at 6:37 PM

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS1031: Type expected

Source Error:

 
Line 34:   
Line 35: 
Line 36:          public WebinarService(IRepository<TopicsRecord> topicsRepository, ISessionLocator sessionLocator, )
Line 37:             
Line 38:          {

 


Source File:  Web Sites\orchard5\Modules\Pryor.WebinarAudio\Services\IWebinarService.cs    Line: 36 

 

code:

    public class WebinarService : IWebinarService
    {
        
     
         private readonly IRepository<TopicsRecord> _topicsRepository;
           private readonly ISessionLocator _sessionLocator;
  

         public WebinarService(IRepository<TopicsRecord> topicsRepository, ISessionLocator sessionLocator, )  <<---Line 36. Is ISession Locator NOT a TYPE???
            
         {
               _sessionLocator = sessionLocator;
     
            _topicsRepository = topicsRepository;

           
         }

 

 

 

 

Dec 2, 2011 at 6:52 PM

Fixed.

 

F$*ing commas.