Ejemplo n.º 1
0
        private ApplicationViewModel()
        {
            ChatClient = new ChatServiceClient(callback);
            Logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
            log4net.Config.XmlConfigurator.Configure();
            ApplicationId = BuiltIns._9258ChatApplication.Id;
			Root = Environment.CurrentDirectory;
			FlexFile = Path.Combine(Root, Const.FlexFile);
            MusicFlexFile = Path.Combine(Root, Const.MusicFlexFile);
            ApplicationName = "9258";
            ProfileVM = Singleton<ProfileViewModel>.Instance;
            LocalCache = Singleton<LocalCache>.Instance;
            OnMicImageUrl = Path.Combine(Root, @"Images\onMic.jpg");
            DownMicImageUrl = Path.Combine(Root, @"Images\downMic.jpg");
        }
Ejemplo n.º 2
0
 static ChatServiceCache()
 {
     client = new ChatServiceClient(new ChatServiceCallback());
 }
Ejemplo n.º 3
0
		public void SwitchUser()
		{
			LogOff();
			ChatClient = new ChatServiceClient(callback);
		}
Ejemplo n.º 4
0
 static ChatServiceCache()
 {
     client = new ChatServiceClient(new ChatServiceCallback());
 }