예제 #1
0
 public void AddExtension(string extensionName, ITicketExtension extension)
 {
     if (!extensions.ContainsKey(extensionName))
     {
         extensions.Add(extensionName, extension);
     }
 }
예제 #2
0
 public TicketServices(IUnitOfWork <XendDbContext> unitOfWork, IEmailService iEmailService, ITicketExtension iticket, IAuditExtension iauditExtention, IMapper mapper, ILoggerManager loggerManager) : base(unitOfWork, mapper)
 {
     _loggerManager   = loggerManager;
     _iauditExtension = iauditExtention;
     _iticket         = iticket;
     _iEmailService   = iEmailService;
 }
예제 #3
0
        public ITicketExtension GetExtension(string extensionName)
        {
            ITicketExtension toReturn = null;

            extensions.TryGetValue(extensionName, out toReturn);
            return(toReturn);
        }