update #1

Merged
s434596 merged 1 commits from :master into master 2019-01-21 15:38:40 +01:00
25 changed files with 637 additions and 118 deletions

Binary file not shown.

View File

@ -0,0 +1,128 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace cat_or_not_2.Resources {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class AppResources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal AppResources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("cat_or_not_2.Resources.AppResources", typeof(AppResources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to add.
/// </summary>
public static string AppBarButtonText {
get {
return ResourceManager.GetString("AppBarButtonText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Menu Item.
/// </summary>
public static string AppBarMenuItemText {
get {
return ResourceManager.GetString("AppBarMenuItemText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to MY APPLICATION.
/// </summary>
public static string ApplicationTitle {
get {
return ResourceManager.GetString("ApplicationTitle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
public static byte[] logo {
get {
object obj = ResourceManager.GetObject("logo", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
public static byte[] mic {
get {
object obj = ResourceManager.GetObject("mic", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Looks up a localized string similar to LeftToRight.
/// </summary>
public static string ResourceFlowDirection {
get {
return ResourceManager.GetString("ResourceFlowDirection", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to en-US.
/// </summary>
public static string ResourceLanguage {
get {
return ResourceManager.GetString("ResourceLanguage", resourceCulture);
}
}
}
}

View File

@ -0,0 +1,144 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="ResourceFlowDirection" xml:space="preserve">
<value>LeftToRight</value>
<comment>Controls the FlowDirection for all elements in the RootFrame. Set to the traditional direction of this resource file's language</comment>
</data>
<data name="ResourceLanguage" xml:space="preserve">
<value>en-US</value>
<comment>Controls the Language and ensures that the font for all elements in the RootFrame aligns with the app's language. Set to the language code of this resource file's language.</comment>
</data>
<data name="ApplicationTitle" xml:space="preserve">
<value>MY APPLICATION</value>
</data>
<data name="AppBarButtonText" xml:space="preserve">
<value>add</value>
</data>
<data name="AppBarMenuItemText" xml:space="preserve">
<value>Menu Item</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="logo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>logo.png;System.Byte[], mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e</value>
</data>
<data name="mic" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>mic.png;System.Byte[], mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e</value>
</data>
</root>

Binary file not shown.

Binary file not shown.

View File

@ -40,17 +40,20 @@
-->
<!--TitlePanel contains the name of the application and page title-->
<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
<!--<TextBlock Text="Cat or Not" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}" HorizontalAlignment="Center"/>-->
<Image Width = "400" Source = "Resources\logo.png"
VerticalAlignment = "Top" Margin = "30" Opacity = "1"/>
<!-- Cat or not logo - source: Assets/logo.png -->
<Image x:Name="logo" Width="400" Source="/Resources/logo.png" VerticalAlignment="Top" Margin ="30" Opacity ="1" CacheMode="BitmapCache" Stretch="UniformToFill" />
<TextBlock Text="&quot;Take photo&quot; and find out!" Style="{StaticResource PhoneTextNormalStyle}" Margin="12,0" HorizontalAlignment="Center"/>
</StackPanel>
<!--ContentPanel - place additional content here-->
<!-- ContentPanel - place additional content here -->
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="0,0,0,0">
<Button Click="Speech_Click" Margin="30,80,30,80" BorderThickness="0">
<Image Source="Resources\mic.png"></Image>
<Button Name="button1" Click="Speech_Click" Margin="30,80,30,80" BorderThickness="0">
<Button.Content>
<Image x:Name="mic" Source="/Resources/mic.png" CacheMode="BitmapCache" Stretch="UniformToFill" />
</Button.Content>
</Button>
</Grid>

View File

@ -25,12 +25,12 @@ namespace cat_or_not_2
//BuildLocalizedApplicationBar();
}
// Random element selection
// Speech recognition code - should be attached to the button (Wera)
// Speech recognition code - should be attached to the button
public async void Speech_Click(object sender, RoutedEventArgs a)
{
var answers = new List<string> { "It is a cat", "It is not a cat" };
// Creating a list with two elements: string "Cat", string "Not"
var answers = new List<string> { "Cat", "Not" };
// Creating a new instance of number generator class
Random rnd = new Random();
SpeechRecognizerUI speechRecognizer = new SpeechRecognizerUI();
@ -44,18 +44,19 @@ namespace cat_or_not_2
if (recoResult.ResultStatus == SpeechRecognitionUIStatus.Succeeded)
{
await synth.SpeakTextAsync("The photo will be taken next");
System.Threading.Thread.Sleep(2000);
await synth.SpeakTextAsync("The photo will be taken next. Cat or not?");
// Casting Next method on rnd instance in the 'answers' list
string answer;
answer = answers[rnd.Next(0, 2)];
if (answer.Equals("It is a cat")) {
// If string 'answer' equals to "Cat", phone vibrates to alert the user
if (answer.Equals("Cat")) {
VibrateController vibrate = VibrateController.Default;
vibrate.Start(TimeSpan.FromMilliseconds(1000));
}
System.Threading.Thread.Sleep(1000);
System.Threading.Thread.Sleep(4000);
await synth.SpeakTextAsync(answer);
}

View File

@ -1,18 +1,17 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17626
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace cat_or_not_2.Resources
{
namespace cat_or_not_2.Resources {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@ -23,105 +22,107 @@ namespace cat_or_not_2.Resources
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class AppResources
{
public class AppResources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal AppResources()
{
internal AppResources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Resources.ResourceManager ResourceManager
{
get
{
if (object.ReferenceEquals(resourceMan, null))
{
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("cat_or_not_2.Resources.AppResources", typeof(AppResources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Globalization.CultureInfo Culture
{
get
{
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set
{
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to LeftToRight.
/// Looks up a localized string similar to add.
/// </summary>
public static string ResourceFlowDirection
{
get
{
return ResourceManager.GetString("ResourceFlowDirection", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to us-EN.
/// </summary>
public static string ResourceLanguage
{
get
{
return ResourceManager.GetString("ResourceLanguage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to MY APPLICATION.
/// </summary>
public static string ApplicationTitle
{
get
{
return ResourceManager.GetString("ApplicationTitle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to button.
/// </summary>
public static string AppBarButtonText
{
get
{
public static string AppBarButtonText {
get {
return ResourceManager.GetString("AppBarButtonText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to menu item.
/// Looks up a localized string similar to Menu Item.
/// </summary>
public static string AppBarMenuItemText
{
get
{
public static string AppBarMenuItemText {
get {
return ResourceManager.GetString("AppBarMenuItemText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to MY APPLICATION.
/// </summary>
public static string ApplicationTitle {
get {
return ResourceManager.GetString("ApplicationTitle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
public static byte[] logo {
get {
object obj = ResourceManager.GetObject("logo", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
public static byte[] mic {
get {
object obj = ResourceManager.GetObject("mic", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Looks up a localized string similar to LeftToRight.
/// </summary>
public static string ResourceFlowDirection {
get {
return ResourceManager.GetString("ResourceFlowDirection", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to en-US.
/// </summary>
public static string ResourceLanguage {
get {
return ResourceManager.GetString("ResourceLanguage", resourceCulture);
}
}
}
}

View File

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
@ -26,36 +26,36 @@
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
@ -134,4 +134,11 @@
<data name="AppBarMenuItemText" xml:space="preserve">
<value>Menu Item</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="logo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>logo.png;System.Byte[], mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e</value>
</data>
<data name="mic" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>mic.png;System.Byte[], mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e</value>
</data>
</root>

View File

@ -102,6 +102,7 @@
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>AppResources.resx</DependentUpon>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Compile>
</ItemGroup>
<ItemGroup>
@ -140,11 +141,14 @@
<Content Include="Assets\Tiles\IconicTileSmall.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="Resources\mic.png" />
<None Include="Resources\logo.png" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\AppResources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>AppResources.Designer.cs</LastGenOutput>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion)\Microsoft.$(TargetFrameworkIdentifier).$(TargetFrameworkVersion).Overrides.targets" />

View File

@ -1,5 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<CurrentDeployCmdId>256</CurrentDeployCmdId>
<CurrentDeployID>BC33F59A-75C2-482D-A3EB-5B80CD5F0DDE</CurrentDeployID>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<CurrentDeployCmdId>256</CurrentDeployCmdId>
<CurrentDeployID>BC33F59A-75C2-482D-A3EB-5B80CD5F0DDE</CurrentDeployID>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{C089C8C0-30E0-4E22-80C0-CE093F111A43}">

Binary file not shown.

View File

@ -0,0 +1,201 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XamlStaticHelperNamespace {
[System.CodeDom.Compiler.GeneratedCodeAttribute("XamlBuildTask", "4.0.0.0")]
internal class _XamlStaticHelper {
private static System.WeakReference schemaContextField;
private static System.Collections.Generic.IList<System.Reflection.Assembly> assemblyListField;
internal static System.Xaml.XamlSchemaContext SchemaContext {
get {
System.Xaml.XamlSchemaContext xsc = null;
if ((schemaContextField != null)) {
xsc = ((System.Xaml.XamlSchemaContext)(schemaContextField.Target));
if ((xsc != null)) {
return xsc;
}
}
if ((AssemblyList.Count > 0)) {
xsc = new System.Xaml.XamlSchemaContext(AssemblyList);
}
else {
xsc = new System.Xaml.XamlSchemaContext();
}
schemaContextField = new System.WeakReference(xsc);
return xsc;
}
}
internal static System.Collections.Generic.IList<System.Reflection.Assembly> AssemblyList {
get {
if ((assemblyListField == null)) {
assemblyListField = LoadAssemblies();
}
return assemblyListField;
}
}
private static System.Collections.Generic.IList<System.Reflection.Assembly> LoadAssemblies() {
System.Collections.Generic.IList<System.Reflection.Assembly> assemblyList = new System.Collections.Generic.List<System.Reflection.Assembly>();
assemblyList.Add(Load("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"));
assemblyList.Add(Load("Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentTy" +
"pe=WindowsRuntime"));
assemblyList.Add(Load("Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a" +
"3a"));
assemblyList.Add(Load("Microsoft.Devices.Sensors, Version=8.0.0.0, Culture=neutral, PublicKeyToken=24eec" +
"0d8c86cda1e"));
assemblyList.Add(Load("Microsoft.Phone, Version=8.0.0.0, Culture=neutral, PublicKeyToken=24eec0d8c86cda1" +
"e"));
assemblyList.Add(Load("Microsoft.Phone.Interop, Version=8.0.0.0, Culture=neutral, PublicKeyToken=24eec0d" +
"8c86cda1e"));
assemblyList.Add(Load("Microsoft.Phone.Maps, Version=8.0.0.0, Culture=neutral, PublicKeyToken=24eec0d8c8" +
"6cda1e"));
assemblyList.Add(Load("Microsoft.Phone.Reactive, Version=8.0.0.0, Culture=neutral, PublicKeyToken=24eec0" +
"d8c86cda1e"));
assemblyList.Add(Load("Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8b" +
"e1de50553"));
assemblyList.Add(Load("Microsoft.Xna.Framework.GamerServices, Version=4.0.0.0, Culture=neutral, PublicKe" +
"yToken=842cf8be1de50553"));
assemblyList.Add(Load("Microsoft.Xna.Framework.GamerServicesExtensions, Version=4.0.0.0, Culture=neutral" +
", PublicKeyToken=842cf8be1de50553"));
assemblyList.Add(Load("Microsoft.Xna.Framework.Input.Touch, Version=4.0.0.0, Culture=neutral, PublicKeyT" +
"oken=842cf8be1de50553"));
assemblyList.Add(Load("Microsoft.Xna.Framework.MediaLibraryExtensions, Version=4.0.0.0, Culture=neutral," +
" PublicKeyToken=842cf8be1de50553"));
assemblyList.Add(Load("mscorlib.Extensions, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea" +
"7798e"));
assemblyList.Add(Load("System.Collections, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d5" +
"0a3a"));
assemblyList.Add(Load("System.ComponentModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f1" +
"1d50a3a"));
assemblyList.Add(Load("System.ComponentModel.EventBasedAsync, Version=4.0.0.0, Culture=neutral, PublicKe" +
"yToken=b03f5f7f11d50a3a"));
assemblyList.Add(Load("System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"));
assemblyList.Add(Load("System.Data.Linq, Version=8.0.0.0, Culture=neutral, PublicKeyToken=24eec0d8c86cda" +
"1e"));
assemblyList.Add(Load("System.Device, Version=2.0.5.0, Culture=neutral, PublicKeyToken=24eec0d8c86cda1e"));
assemblyList.Add(Load("System.Diagnostics.Contracts, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b0" +
"3f5f7f11d50a3a"));
assemblyList.Add(Load("System.Diagnostics.Debug, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f" +
"7f11d50a3a"));
assemblyList.Add(Load("System.Diagnostics.Tools, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f" +
"7f11d50a3a"));
assemblyList.Add(Load("System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"));
assemblyList.Add(Load("System.Dynamic.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f" +
"11d50a3a"));
assemblyList.Add(Load("System.Globalization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11" +
"d50a3a"));
assemblyList.Add(Load("System.IO, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"));
assemblyList.Add(Load("System.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"));
assemblyList.Add(Load("System.Linq.Expressions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7" +
"f11d50a3a"));
assemblyList.Add(Load("System.Linq.Queryable, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f1" +
"1d50a3a"));
assemblyList.Add(Load("System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"));
assemblyList.Add(Load("System.Net.NetworkInformation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b" +
"03f5f7f11d50a3a"));
assemblyList.Add(Load("System.Net.Primitives, Version=3.9.0.0, Culture=neutral, PublicKeyToken=b03f5f7f1" +
"1d50a3a"));
assemblyList.Add(Load("System.Net.Requests, Version=3.9.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d" +
"50a3a"));
assemblyList.Add(Load("System.ObjectModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d5" +
"0a3a"));
assemblyList.Add(Load("System.Observable, Version=2.0.5.0, Culture=neutral, PublicKeyToken=24eec0d8c86cd" +
"a1e"));
assemblyList.Add(Load("System.Reflection, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50" +
"a3a"));
assemblyList.Add(Load("System.Reflection.Emit.ILGeneration, Version=4.0.0.0, Culture=neutral, PublicKeyT" +
"oken=b03f5f7f11d50a3a"));
assemblyList.Add(Load("System.Reflection.Emit.Lightweight, Version=4.0.0.0, Culture=neutral, PublicKeyTo" +
"ken=b03f5f7f11d50a3a"));
assemblyList.Add(Load("System.Reflection.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b0" +
"3f5f7f11d50a3a"));
assemblyList.Add(Load("System.Reflection.Primitives, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b0" +
"3f5f7f11d50a3a"));
assemblyList.Add(Load("System.Resources.ResourceManager, Version=4.0.0.0, Culture=neutral, PublicKeyToke" +
"n=b03f5f7f11d50a3a"));
assemblyList.Add(Load("System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
""));
assemblyList.Add(Load("System.Runtime.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5" +
"f7f11d50a3a"));
assemblyList.Add(Load("System.Runtime.InteropServices.WindowsRuntime, Version=4.0.0.0, Culture=neutral, " +
"PublicKeyToken=b03f5f7f11d50a3a"));
assemblyList.Add(Load("System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7c" +
"ec85d7bea7798e"));
assemblyList.Add(Load("System.Runtime.Serialization.Json, Version=4.0.0.0, Culture=neutral, PublicKeyTok" +
"en=b03f5f7f11d50a3a"));
assemblyList.Add(Load("System.Runtime.Serialization.Primitives, Version=4.0.0.0, Culture=neutral, Public" +
"KeyToken=b03f5f7f11d50a3a"));
assemblyList.Add(Load("System.Runtime.Serialization.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToke" +
"n=b03f5f7f11d50a3a"));
assemblyList.Add(Load("System.Runtime.WindowsRuntime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b" +
"77a5c561934e089"));
assemblyList.Add(Load("System.Security.Principal, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5" +
"f7f11d50a3a"));
assemblyList.Add(Load("System.ServiceModel, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad3" +
"64e35"));
assemblyList.Add(Load("System.ServiceModel.Http, Version=3.9.0.0, Culture=neutral, PublicKeyToken=b03f5f" +
"7f11d50a3a"));
assemblyList.Add(Load("System.ServiceModel.Primitives, Version=3.9.0.0, Culture=neutral, PublicKeyToken=" +
"b03f5f7f11d50a3a"));
assemblyList.Add(Load("System.ServiceModel.Security, Version=3.9.0.0, Culture=neutral, PublicKeyToken=b0" +
"3f5f7f11d50a3a"));
assemblyList.Add(Load("System.ServiceModel.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d" +
"7bea7798e"));
assemblyList.Add(Load("System.Text.Encoding, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11" +
"d50a3a"));
assemblyList.Add(Load("System.Text.Encoding.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken" +
"=b03f5f7f11d50a3a"));
assemblyList.Add(Load("System.Text.RegularExpressions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=" +
"b03f5f7f11d50a3a"));
assemblyList.Add(Load("System.Threading, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a" +
"3a"));
assemblyList.Add(Load("System.Threading.Tasks, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f" +
"11d50a3a"));
assemblyList.Add(Load("System.Windows, Version=2.0.6.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" +
""));
assemblyList.Add(Load("System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"));
assemblyList.Add(Load("System.Xml.Linq, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e3" +
"5"));
assemblyList.Add(Load("System.Xml.ReaderWriter, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7" +
"f11d50a3a"));
assemblyList.Add(Load("System.Xml.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf38" +
"56ad364e35"));
assemblyList.Add(Load("System.Xml.XDocument, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11" +
"d50a3a"));
assemblyList.Add(Load("System.Xml.XmlSerializer, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f" +
"7f11d50a3a"));
assemblyList.Add(System.Reflection.Assembly.GetExecutingAssembly());
return assemblyList;
}
private static System.Reflection.Assembly Load(string assemblyNameVal) {
System.Reflection.AssemblyName assemblyName = new System.Reflection.AssemblyName(assemblyNameVal);
byte[] publicKeyToken = assemblyName.GetPublicKeyToken();
System.Reflection.Assembly asm = null;
try {
asm = System.Reflection.Assembly.Load(assemblyName.FullName);
}
catch (System.Exception ) {
System.Reflection.AssemblyName shortName = new System.Reflection.AssemblyName(assemblyName.Name);
if ((publicKeyToken != null)) {
shortName.SetPublicKeyToken(publicKeyToken);
}
asm = System.Reflection.Assembly.Load(shortName);
}
return asm;
}
}
}

View File

@ -1,4 +1,4 @@
#pragma checksum "C:\Users\Weronika\source\repos\Cat-or-Not-2\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "20662F3AF318B3ADC8D5FF556C28978A"
#pragma checksum "C:\Users\Weronika\source\repos\Cat-or-Not-2\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "C42484EF2B67EAC8AC79AC1199289C44"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@ -40,8 +40,14 @@ namespace cat_or_not_2 {
internal System.Windows.Controls.StackPanel TitlePanel;
internal System.Windows.Controls.Image logo;
internal System.Windows.Controls.Grid ContentPanel;
internal System.Windows.Controls.Button button1;
internal System.Windows.Controls.Image mic;
private bool _contentLoaded;
/// <summary>
@ -56,7 +62,10 @@ namespace cat_or_not_2 {
System.Windows.Application.LoadComponent(this, new System.Uri("/cat-or-not-2;component/MainPage.xaml", System.UriKind.Relative));
this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
this.logo = ((System.Windows.Controls.Image)(this.FindName("logo")));
this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
this.button1 = ((System.Windows.Controls.Button)(this.FindName("button1")));
this.mic = ((System.Windows.Controls.Image)(this.FindName("mic")));
}
}
}

View File

@ -1,4 +1,4 @@
#pragma checksum "C:\Users\Weronika\source\repos\Cat-or-Not-2\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B8854AB2A57F94937B3E92239FD416B2"
#pragma checksum "C:\Users\Weronika\source\repos\Cat-or-Not-2\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "C4347C1DB9A724CD021617438500708C"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@ -40,8 +40,14 @@ namespace cat_or_not_2 {
internal System.Windows.Controls.StackPanel TitlePanel;
internal System.Windows.Controls.Image logo;
internal System.Windows.Controls.Grid ContentPanel;
internal System.Windows.Controls.Button button1;
internal System.Windows.Controls.Image mic;
private bool _contentLoaded;
/// <summary>
@ -56,7 +62,10 @@ namespace cat_or_not_2 {
System.Windows.Application.LoadComponent(this, new System.Uri("/cat-or-not-2;component/MainPage.xaml", System.UriKind.Relative));
this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
this.logo = ((System.Windows.Controls.Image)(this.FindName("logo")));
this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
this.button1 = ((System.Windows.Controls.Button)(this.FindName("button1")));
this.mic = ((System.Windows.Controls.Image)(this.FindName("mic")));
}
}
}

View File

@ -1,11 +1,13 @@
<xapCache source="C:\Users\Weronika\source\repos\Cat-or-Not-2\Bin\Release\cat_or_not_2_Release_AnyCPU.xap" wasSigned="False" wasTritonized="False" certificateThumbprint="" TimeStampUrl="" signKeyFile="" signKeyPassword="" lastWriteTime="19.01.2019 14:52:12">
<file source="C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat-or-not-2.dll" archivePath="cat-or-not-2.dll" lastWriteTime="19.01.2019 14:52:11" />
<xapCache source="C:\Users\Weronika\source\repos\Cat-or-Not-2\Bin\Release\cat_or_not_2_Release_AnyCPU.xap" wasSigned="False" wasTritonized="False" certificateThumbprint="" TimeStampUrl="" signKeyFile="" signKeyPassword="" lastWriteTime="19.01.2019 16:54:05">
<file source="C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat-or-not-2.dll" archivePath="cat-or-not-2.dll" lastWriteTime="19.01.2019 16:54:05" />
<file source="C:\Users\Weronika\source\repos\Cat-or-Not-2\Assets\AlignmentGrid.png" archivePath="Assets\AlignmentGrid.png" lastWriteTime="18.01.2019 18:49:22" />
<file source="C:\Users\Weronika\source\repos\Cat-or-Not-2\Assets\Tiles\FlipCycleTileLarge.png" archivePath="Assets\Tiles\FlipCycleTileLarge.png" lastWriteTime="18.01.2019 18:49:22" />
<file source="C:\Users\Weronika\source\repos\Cat-or-Not-2\Assets\Tiles\FlipCycleTileSmall.png" archivePath="Assets\Tiles\FlipCycleTileSmall.png" lastWriteTime="18.01.2019 18:49:22" />
<file source="C:\Users\Weronika\source\repos\Cat-or-Not-2\Assets\Tiles\IconicTileMediumLarge.png" archivePath="Assets\Tiles\IconicTileMediumLarge.png" lastWriteTime="18.01.2019 18:49:22" />
<file source="C:\Users\Weronika\source\repos\Cat-or-Not-2\Assets\Tiles\IconicTileSmall.png" archivePath="Assets\Tiles\IconicTileSmall.png" lastWriteTime="18.01.2019 18:49:22" />
<file source="C:\Users\Weronika\source\repos\Cat-or-Not-2\Bin\Release\AppManifest.xaml" archivePath="AppManifest.xaml" lastWriteTime="18.01.2019 23:54:30" />
<file source="C:\Users\Weronika\source\repos\Cat-or-Not-2\Bin\Release\Resources\AppResources.resx" archivePath="Resources\AppResources.resx" lastWriteTime="19.01.2019 15:42:19" />
<file source="C:\Users\Weronika\source\repos\Cat-or-Not-2\Bin\Release\Resources\AppResources.Designer.cs" archivePath="Resources\AppResources.Designer.cs" lastWriteTime="19.01.2019 15:42:19" />
<file source="C:\Users\Weronika\source\repos\Cat-or-Not-2\Bin\Release\Assets\ApplicationIcon.png" archivePath="Assets\ApplicationIcon.png" lastWriteTime="18.01.2019 18:49:22" />
<file source="C:\Users\Weronika\source\repos\Cat-or-Not-2\Bin\Release\Assets\Tiles\FlipCycleTileMedium.png" archivePath="Assets\Tiles\FlipCycleTileMedium.png" lastWriteTime="18.01.2019 18:49:22" />
<file source="C:\Users\Weronika\source\repos\Cat-or-Not-2\Bin\Release\Properties\WMAppManifest.xml" archivePath="WMAppManifest.xml" lastWriteTime="18.01.2019 23:54:30" />

View File

@ -12,8 +12,10 @@ C:\Users\Weronika\source\repos\Cat-or-Not-2\Bin\Release\cat_or_not_2_Release_Any
C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\App.g.cs
C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\MainPage.g.cs
C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat-or-not-2.g.resources
C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat_or_not_2.Resources.AppResources.resources
C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat-or-not-2.csproj.GenerateResource.Cache
C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat-or-not-2.dll
C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat-or-not-2.pdb
C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\XapCacheFile.xml
C:\Users\Weronika\source\repos\Cat-or-Not-2\Bin\Release\Resources\AppResources.resx
C:\Users\Weronika\source\repos\Cat-or-Not-2\Bin\Release\Resources\AppResources.Designer.cs
C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat_or_not_2.Resources.AppResources.resources
C:\Users\Weronika\source\repos\Cat-or-Not-2\obj\Release\cat-or-not-2.csproj.GenerateResource.Cache

Binary file not shown.

Binary file not shown.

Binary file not shown.