Example #1
0
 public ContextEngine()
 {
     Dictionary<Uri, object> claims = (Dictionary<Uri, object>)AmbientDataContext.CurrentClaimStore.GetAll();
     _browser = new BrowserClaims(claims);
     _device = new DeviceClaims(claims);
     _os = new OsClaims(claims);
 }
Example #2
0
 public ContextEngine(Dictionary<Uri, object> claims)
 {
     _browser = new BrowserClaims(claims);
     _device = new DeviceClaims(claims);
     _os = new OsClaims(claims);
 }