Esempio n. 1
0
        public IMUI(CoreUI ui, OpService service)
        {
            UI = ui;
            IM = service as IMService;

            IM.CreateView += IM_CreateView;
        }
Esempio n. 2
0
        public MailUI(CoreUI ui, OpService service)
        {
            UI   = ui;
            Core = ui.Core;
            Mail = service as MailService;

            Mail.ShowCompose += Mail_ShowCompose;
        }
Esempio n. 3
0
        public ChatUI(CoreUI ui, OpService service)
        {
            UI = ui;
            Core = ui.Core;
            Chat = service as ChatService;

            Chat.NewInvite += Chat_NewInvite;
        }
Esempio n. 4
0
        public StorageUI(CoreUI ui, OpService service)
        {
            UI = ui;
            Core = ui.Core;
            Storage = service as StorageService;

            Storage.Disposing += Storage_Disposing;
        }
Esempio n. 5
0
        public ChatUI(CoreUI ui, OpService service)
        {
            UI   = ui;
            Core = ui.Core;
            Chat = service as ChatService;

            Chat.NewInvite += Chat_NewInvite;
        }
Esempio n. 6
0
        public StorageUI(CoreUI ui, OpService service)
        {
            UI      = ui;
            Core    = ui.Core;
            Storage = service as StorageService;

            Storage.Disposing += Storage_Disposing;
        }
Esempio n. 7
0
        private void AddService(OpService service)
        {
            if (ServiceMap.ContainsKey(service.ServiceID))
            {
                throw new Exception("Duplicate Service Added");
            }

            ServiceMap[service.ServiceID] = service;

            ServiceBandwidth[service.ServiceID] = new BandwidthLog(RecordBandwidthSeconds);

            Context.KnownServices[service.ServiceID] = service.Name;
        }
Esempio n. 8
0
 public TrustUI(CoreUI ui, OpService service)
 {
     UI    = ui;
     Core  = ui.Core;
     Trust = service as TrustService;
 }
Esempio n. 9
0
 public ShareUI(CoreUI ui, OpService service)
 {
     UI = ui;
     Core = ui.Core;
     Share = service as ShareService;
 }
Esempio n. 10
0
File: OpCore.cs Progetto: swax/DeOps
        private void AddService(OpService service)
        {
            if (ServiceMap.ContainsKey(service.ServiceID))
                throw new Exception("Duplicate Service Added");

            ServiceMap[service.ServiceID] = service;

            ServiceBandwidth[service.ServiceID] = new BandwidthLog(RecordBandwidthSeconds);

            Context.KnownServices[service.ServiceID] = service.Name;
        }
Esempio n. 11
0
 public BuddyUI(CoreUI ui, OpService service)
 {
     UI = ui;
     Core = ui.Core;
     Buddies = service as BuddyService;
 }
Esempio n. 12
0
 public BoardUI(CoreUI ui, OpService board)
 {
     UI    = ui;
     Board = board as BoardService;
 }
Esempio n. 13
0
 public ProfileUI(CoreUI ui, OpService service)
 {
     UI = ui;
     Core = ui.Core;
     Profile = service as ProfileService;
 }
Esempio n. 14
0
 public ProfileUI(CoreUI ui, OpService service)
 {
     UI      = ui;
     Core    = ui.Core;
     Profile = service as ProfileService;
 }
Esempio n. 15
0
 public BuddyUI(CoreUI ui, OpService service)
 {
     UI      = ui;
     Core    = ui.Core;
     Buddies = service as BuddyService;
 }
Esempio n. 16
0
 public ShareUI(CoreUI ui, OpService service)
 {
     UI    = ui;
     Core  = ui.Core;
     Share = service as ShareService;
 }
Esempio n. 17
0
 public PlanUI(CoreUI ui, OpService service)
 {
     UI   = ui;
     Core = ui.Core;
     Plan = service as PlanService;
 }