public MSSQLCE(EasySocial.FrameWork.Intelligence.BaseIntelligence intelligence) : base(intelligence) { EasySocial.FrameWork.Intelligence.CoreIntelligence coreIntelligence = (EasySocial.FrameWork.Intelligence.CoreIntelligence)intelligence; _connection = new SqlCeConnection("Data Source =" + coreIntelligence.EnvironmentIntelligence.StartUpPath + "\\Data" + "\\easysocial.sdf;"); RequiresLogin = false; }
public Welcome(EasySocial.FrameWork.Intelligence.BaseIntelligence intelligence) : base(intelligence) { RequiresLogin = false; IsWelcomeScreen = true; PageTitle = "Welcome"; }
public XfireNetworkProvider(EasySocial.FrameWork.Intelligence.CoreIntelligence intelligence) : base(intelligence) { _encodingInstance = Encoding.ASCII; Contacts = new AsyncObservableCollection<EasySocial.FrameWork.Networking.NetworkProviders.ContactProvider>(); Intelligence = intelligence; Name = "XfireProtocolProviderES"; }
public void ShowConfigPage(EasySocial.FrameWork.Intelligence.CoreIntelligence intelligence) { EasySocial.FrameWork.Plugins.PagePlugins.BasePagePlugin configPagePlugin = new FrameWork.Plugins.PagePlugins.BasePagePlugin(intelligence); configPagePlugin.Control = new Views.ConfigurationView(); configPagePlugin.Control.DataContext = new ViewModels.ConfigurationViewModel(intelligence); setPage(configPagePlugin.Control); }
public Weather(EasySocial.FrameWork.Intelligence.BaseIntelligence intelligence) : base(intelligence) { _view = new PlgWeather.Views.WeatherView(); ((PlgWeather.ViewModels.WeatherViewModel)_view.DataContext).BaseIntelligence = intelligence; PageTitle = "Weather"; MenuItems = new EasySocial.FrameWork.Collections.AsyncObservableCollection<EasySocial.FrameWork.Models.SubMenuItem>(); NotifyPropertyChanged("MenuItems"); }
public XfireContactProvider(EasySocial.FrameWork.Intelligence.CoreIntelligence coreIntelligence, object[] contactData, EasySocial.FrameWork.Networking.NetworkProviders.NetworkProvider networkProvider) : base(coreIntelligence, contactData, networkProvider) { // TODO: Complete member initialization this._coreIntelligence = coreIntelligence; this._contactData = contactData; this._networkProvider = (Networking.NetworkProviders.XfireNetworkProvider)networkProvider; //Name = (String)(contactData[1]); TODO Identifier = (String)contactData[0]; //if (Name == string.Empty) Name = (String)(contactData[0]); TODO StatusColor = coreIntelligence.SocialIntelligence.StatusColors["Offline"]; System.Net.WebClient wc = new System.Net.WebClient(); string user = (string)contactData[0]; this.ImageAsBytes = wc.DownloadData(new Uri("http://screenshot.xfire.com/avatar/160/" + user + ".jpg")); if (this.ImageAsBytes.Count() == 0) this.ImageAsBytes = wc.DownloadData(new Uri("http://yammer.ucdavis.edu/lib/exe/fetch.php?w=150&h=&cache=cache&media=shared:no-avatar.jpg")); }
public FeedReaderIntelligence(EasySocial.FrameWork.Intelligence.BaseIntelligence intelligence) : base((EasySocial.FrameWork.Intelligence.CoreIntelligence)intelligence) { PropertyChanged += new PropertyChangedEventHandler(FeedReaderIntelligence_PropertyChanged); intelligence.CoreIntelligence.ThreadingIntelligence.StartThread(GetFeeds); }
public Messaging(EasySocial.FrameWork.Intelligence.BaseIntelligence intelligence) : base(intelligence) { PageTitle = "Messaging"; }
/// <summary> /// Initializes a new instance of the <see cref="NetworkProvider"/> class. /// </summary> /// <param name="intelligence">The intelligence.</param> public NetworkProvider(EasySocial.FrameWork.Intelligence.CoreIntelligence intelligence) { Contacts = new AsyncObservableCollection<ContactProvider>(); }
/// <summary> /// Initializes a new instance of the <see cref="ContactProvider"/> class. /// </summary> /// <param name="coreIntelligence">The core intelligence.</param> /// <param name="contactData">The contact data.</param> /// <param name="networkProvider">The network provider.</param> public ContactProvider(EasySocial.FrameWork.Intelligence.CoreIntelligence coreIntelligence, object[] contactData, NetworkProvider networkProvider) { _coreIntelligence = coreIntelligence; }
public Xfire(EasySocial.FrameWork.Intelligence.BaseIntelligence intelligence) : base((CoreIntelligence)intelligence) { Intelligence = (CoreIntelligence)intelligence; Name = "XfireProtocolES"; }