In this workshop, we'll add a new in
expression to C#, with example use cases shown below:
x in 1..10 // x >= 1 && x < 10
'a' in "bar" // "bar".IndexOf('a') >= 0 -or- "bar".Contains('a')
x in xs // xs.Contains(x)
<?xml version="1.0"?> | |
<configuration> | |
<configSections> | |
<section name="system.identityModel" type="System.IdentityModel.Configuration.SystemIdentityModelSection, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> | |
<section name="system.identityModel.services" type="System.IdentityModel.Services.Configuration.SystemIdentityModelServicesSection, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> | |
</configSections> | |
<appSettings> | |
<add key="ida:FederationMetadataLocation" value="https://localhost/idsrv/FederationMetadata/2007-06/FederationMetadata.xml" /> | |
<add key="ida:Realm" value="https://localhost/authdemoapp/secured/" /> | |
<add key="ida:AudienceUri" value="https://localhost/authdemoapp/secured/" /> |
2015-11-28 18:38:04 ERROR SEARCHQUEUE-BACKLOG-73141 :: [Cpasbien] :: Transmission: Failed Sending Torrent | |
</html> | |
</body> | |
<script type='text/javascript' src='http://pl110622.puhtml.com/3f/f9/22/3ff92284a69900430164d3d623107046.js'></script> | |
} catch(err) {}</script> | |
pageTracker._trackPageview(); | |
var pageTracker = _gat._getTracker("UA-11562049-1"); |
2015-11-28 18:38:04 ERROR SEARCHQUEUE-BACKLOG-73141 :: [Cpasbien] :: Transmission: Failed Sending Torrent | |
</html> | |
</body> | |
<script type='text/javascript' src='http://pl110622.puhtml.com/3f/f9/22/3ff92284a69900430164d3d623107046.js'></script> | |
} catch(err) {}</script> | |
pageTracker._trackPageview(); | |
var pageTracker = _gat._getTracker("UA-11562049-1"); |
2015-10-14 18:45:17 ERROR Thread-16 :: Failed doing webui callback: Traceback (most recent call last): | |
2015-10-14 18:45:00 DEBUG MAIN :: Transaction with 2270 queries executed | |
2015-10-14 18:44:54 DEBUG MAIN :: Internal name cache for Defiance set to: [ defiance ] | |
2015-10-14 18:44:54 DEBUG MAIN :: Building internal name cache for Defiance | |
2015-10-14 18:44:54 DEBUG MAIN :: No scene exceptions update needed | |
2015-10-14 18:44:54 DEBUG MAIN :: Internal name cache for The Flash (2014) set to: [ the flash 2014 ] | |
2015-10-14 18:44:54 DEBUG MAIN :: Building internal name cache for The Flash (2014) | |
2015-10-14 18:44:54 DEBUG MAIN :: No scene exceptions update needed | |
2015-10-14 18:44:54 DEBUG MAIN :: Internal name cache for Sense8 set to: [ sense8 ] | |
2015-10-14 18:44:54 DEBUG MAIN :: Building internal name cache for Sense8 |
2015-10-14 18:45:19 ERROR Thread-15 :: Failed doing webui callback: Traceback (most recent call last): | |
ImportError: Loaded module _share_HDA_DATA__qpkg_SickBeard_TVRage_SickBeard_TVRage_gui_slick_views_home_mako not found in sys.modules | |
return imp.load_source(module_id, path, fp) | |
File "/share/HDA_DATA/.qpkg/SickBeard-TVRage/SickBeard-TVRage/lib/mako/compat.py", line 66, in load_module | |
module = compat.load_module(self.module_id, path) | |
File "/share/HDA_DATA/.qpkg/SickBeard-TVRage/SickBeard-TVRage/lib/mako/template.py", line 379, in _compile_from_file | |
module = self._compile_from_file(path, filename) | |
File "/share/HDA_DATA/.qpkg/SickBeard-TVRage/SickBeard-TVRage/lib/mako/template.py", line 321, in __init__ | |
super(PageTemplate, self).__init__(*args, **kwargs) |
2015-10-14 18:45:20 ERROR Thread-17 :: Failed doing webui callback: Traceback (most recent call last): | |
ImportError: Loaded module _share_HDA_DATA__qpkg_SickBeard_TVRage_SickBeard_TVRage_gui_slick_views_home_mako not found in sys.modules | |
return imp.load_source(module_id, path, fp) | |
File "/share/HDA_DATA/.qpkg/SickBeard-TVRage/SickBeard-TVRage/lib/mako/compat.py", line 66, in load_module | |
module = compat.load_module(self.module_id, path) | |
File "/share/HDA_DATA/.qpkg/SickBeard-TVRage/SickBeard-TVRage/lib/mako/template.py", line 379, in _compile_from_file | |
module = self._compile_from_file(path, filename) | |
File "/share/HDA_DATA/.qpkg/SickBeard-TVRage/SickBeard-TVRage/lib/mako/template.py", line 321, in __init__ | |
super(PageTemplate, self).__init__(*args, **kwargs) |
2015-10-14 18:45:22 ERROR Thread-13 :: Failed doing webui callback: Traceback (most recent call last): | |
ImportError: Loaded module _share_HDA_DATA__qpkg_SickBeard_TVRage_SickBeard_TVRage_gui_slick_views_home_mako not found in sys.modules | |
return imp.load_source(module_id, path, fp) | |
File "/share/HDA_DATA/.qpkg/SickBeard-TVRage/SickBeard-TVRage/lib/mako/compat.py", line 66, in load_module | |
module = compat.load_module(self.module_id, path) | |
File "/share/HDA_DATA/.qpkg/SickBeard-TVRage/SickBeard-TVRage/lib/mako/template.py", line 379, in _compile_from_file | |
module = self._compile_from_file(path, filename) | |
File "/share/HDA_DATA/.qpkg/SickBeard-TVRage/SickBeard-TVRage/lib/mako/template.py", line 321, in __init__ | |
super(PageTemplate, self).__init__(*args, **kwargs) |
2015-10-14 18:45:23 ERROR Thread-19 :: Failed doing webui callback: Traceback (most recent call last): | |
AttributeError: 'module' object has no attribute 'render_body' | |
self.callable_ = self.module.render_body | |
File "/share/HDA_DATA/.qpkg/SickBeard-TVRage/SickBeard-TVRage/lib/mako/template.py", line 328, in __init__ | |
super(PageTemplate, self).__init__(*args, **kwargs) | |
File "/share/HDA_DATA/.qpkg/SickBeard-TVRage/SickBeard-TVRage/sickbeard/webserve.py", line 101, in __init__ | |
t = PageTemplate(rh=self, file="home.mako") | |
File "/share/HDA_DATA/.qpkg/SickBeard-TVRage/SickBeard-TVRage/sickbeard/webserve.py", line 645, in index | |
result = function(**kwargs) |
2015-10-12 21:16:06 ERROR Thread-15 :: Failed doing webui callback: Traceback (most recent call last): | |
2015-10-12 21:16:03 DEBUG MAIN :: Internal name cache for The Flash (2014) set to: [ the flash 2014 ] | |
2015-10-12 21:16:03 DEBUG MAIN :: Building internal name cache for The Flash (2014) | |
2015-10-12 21:16:03 DEBUG MAIN :: No scene exceptions update needed | |
2015-10-12 21:16:03 DEBUG MAIN :: Internal name cache for Sense8 set to: [ sense8 ] | |
2015-10-12 21:16:03 DEBUG MAIN :: Building internal name cache for Sense8 | |
2015-10-12 21:16:03 DEBUG MAIN :: No scene exceptions update needed | |
2015-10-12 21:16:03 DEBUG MAIN :: Internal name cache for The Office (US) set to: [ the office, the office us ] | |
2015-10-12 21:16:03 DEBUG MAIN :: Building internal name cache for The Office (US) | |
2015-10-12 21:16:03 DEBUG MAIN :: No scene exceptions update needed |