Loading Xml from Ressourcefile
This commit is contained in:
parent
0e4faef6a4
commit
119c9edf43
BIN
astar/.vs/astar/DesignTimeBuild/.dtbcache.v2
Normal file
BIN
astar/.vs/astar/DesignTimeBuild/.dtbcache.v2
Normal file
Binary file not shown.
BIN
astar/.vs/astar/v17/.futdcache.v1
Normal file
BIN
astar/.vs/astar/v17/.futdcache.v1
Normal file
Binary file not shown.
Binary file not shown.
18
astar/Astar.cs
Normal file
18
astar/Astar.cs
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
using System.Xml;
|
||||||
|
using Logging;
|
||||||
|
|
||||||
|
namespace astar
|
||||||
|
{
|
||||||
|
public class Astar
|
||||||
|
{
|
||||||
|
private Logger logger;
|
||||||
|
public Astar()
|
||||||
|
{
|
||||||
|
this.logger = new Logger(LogType.Console);
|
||||||
|
XmlReader reader = XmlReader.Create(new MemoryStream(osm_data.map));
|
||||||
|
reader.MoveToContent();
|
||||||
|
while (reader.Read())
|
||||||
|
logger.log(reader.Name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1,7 +0,0 @@
|
|||||||
namespace astar
|
|
||||||
{
|
|
||||||
public class Class1
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
170697
astar/Resources/map.osm
Normal file
170697
astar/Resources/map.osm
Normal file
File diff suppressed because it is too large
Load Diff
@ -6,4 +6,23 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Logging\Logging.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Update="osm-data.Designer.cs">
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>osm-data.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Update="osm-data.resx">
|
||||||
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>osm-data.Designer.cs</LastGenOutput>
|
||||||
|
</EmbeddedResource>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -3,7 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||||||
# Visual Studio Version 17
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 17.1.32421.90
|
VisualStudioVersion = 17.1.32421.90
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "astar", "astar.csproj", "{4B7782F4-DE4B-424D-B46B-E7BC750D0838}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "astar", "astar.csproj", "{4B7782F4-DE4B-424D-B46B-E7BC750D0838}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Logging", "..\Logging\Logging.csproj", "{97F58928-BC5A-40C2-AA8A-83A795D85FAA}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Executable", "..\Executable\Executable.csproj", "{9B311732-9631-480D-97A3-54823CC27CC8}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@ -15,6 +19,14 @@ Global
|
|||||||
{4B7782F4-DE4B-424D-B46B-E7BC750D0838}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{4B7782F4-DE4B-424D-B46B-E7BC750D0838}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{4B7782F4-DE4B-424D-B46B-E7BC750D0838}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{4B7782F4-DE4B-424D-B46B-E7BC750D0838}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{4B7782F4-DE4B-424D-B46B-E7BC750D0838}.Release|Any CPU.Build.0 = Release|Any CPU
|
{4B7782F4-DE4B-424D-B46B-E7BC750D0838}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{97F58928-BC5A-40C2-AA8A-83A795D85FAA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{97F58928-BC5A-40C2-AA8A-83A795D85FAA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{97F58928-BC5A-40C2-AA8A-83A795D85FAA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{97F58928-BC5A-40C2-AA8A-83A795D85FAA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{9B311732-9631-480D-97A3-54823CC27CC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{9B311732-9631-480D-97A3-54823CC27CC8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{9B311732-9631-480D-97A3-54823CC27CC8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{9B311732-9631-480D-97A3-54823CC27CC8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
BIN
astar/bin/Debug/net6.0/Logging.dll
Normal file
BIN
astar/bin/Debug/net6.0/Logging.dll
Normal file
Binary file not shown.
BIN
astar/bin/Debug/net6.0/Logging.pdb
Normal file
BIN
astar/bin/Debug/net6.0/Logging.pdb
Normal file
Binary file not shown.
36
astar/bin/Debug/net6.0/astar.deps.json
Normal file
36
astar/bin/Debug/net6.0/astar.deps.json
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"runtimeTarget": {
|
||||||
|
"name": ".NETCoreApp,Version=v6.0",
|
||||||
|
"signature": ""
|
||||||
|
},
|
||||||
|
"compilationOptions": {},
|
||||||
|
"targets": {
|
||||||
|
".NETCoreApp,Version=v6.0": {
|
||||||
|
"astar/1.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Logging": "1.0.0"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"astar.dll": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Logging/1.0.0": {
|
||||||
|
"runtime": {
|
||||||
|
"Logging.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"astar/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"serviceable": false,
|
||||||
|
"sha512": ""
|
||||||
|
},
|
||||||
|
"Logging/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"serviceable": false,
|
||||||
|
"sha512": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
BIN
astar/bin/Debug/net6.0/astar.dll
Normal file
BIN
astar/bin/Debug/net6.0/astar.dll
Normal file
Binary file not shown.
BIN
astar/bin/Debug/net6.0/astar.pdb
Normal file
BIN
astar/bin/Debug/net6.0/astar.pdb
Normal file
Binary file not shown.
Binary file not shown.
0
astar/obj/Debug/net6.0/astar.csproj.CopyComplete
Normal file
0
astar/obj/Debug/net6.0/astar.csproj.CopyComplete
Normal file
@ -0,0 +1 @@
|
|||||||
|
3c7ec2645252fce3dc1f92efe6170abc1ddd8af5
|
17
astar/obj/Debug/net6.0/astar.csproj.FileListAbsolute.txt
Normal file
17
astar/obj/Debug/net6.0/astar.csproj.FileListAbsolute.txt
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
D:\Documents\GitHub\astar\astar\bin\Debug\net6.0\astar.deps.json
|
||||||
|
D:\Documents\GitHub\astar\astar\bin\Debug\net6.0\astar.dll
|
||||||
|
D:\Documents\GitHub\astar\astar\bin\Debug\net6.0\astar.pdb
|
||||||
|
D:\Documents\GitHub\astar\astar\obj\Debug\net6.0\astar.csproj.AssemblyReference.cache
|
||||||
|
D:\Documents\GitHub\astar\astar\obj\Debug\net6.0\astar.osm-data.resources
|
||||||
|
D:\Documents\GitHub\astar\astar\obj\Debug\net6.0\astar.csproj.GenerateResource.cache
|
||||||
|
D:\Documents\GitHub\astar\astar\obj\Debug\net6.0\astar.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
D:\Documents\GitHub\astar\astar\obj\Debug\net6.0\astar.AssemblyInfoInputs.cache
|
||||||
|
D:\Documents\GitHub\astar\astar\obj\Debug\net6.0\astar.AssemblyInfo.cs
|
||||||
|
D:\Documents\GitHub\astar\astar\obj\Debug\net6.0\astar.csproj.CoreCompileInputs.cache
|
||||||
|
D:\Documents\GitHub\astar\astar\obj\Debug\net6.0\astar.dll
|
||||||
|
D:\Documents\GitHub\astar\astar\obj\Debug\net6.0\refint\astar.dll
|
||||||
|
D:\Documents\GitHub\astar\astar\obj\Debug\net6.0\astar.pdb
|
||||||
|
D:\Documents\GitHub\astar\astar\obj\Debug\net6.0\ref\astar.dll
|
||||||
|
D:\Documents\GitHub\astar\astar\bin\Debug\net6.0\Logging.dll
|
||||||
|
D:\Documents\GitHub\astar\astar\bin\Debug\net6.0\Logging.pdb
|
||||||
|
D:\Documents\GitHub\astar\astar\obj\Debug\net6.0\astar.csproj.CopyComplete
|
BIN
astar/obj/Debug/net6.0/astar.csproj.GenerateResource.cache
Normal file
BIN
astar/obj/Debug/net6.0/astar.csproj.GenerateResource.cache
Normal file
Binary file not shown.
BIN
astar/obj/Debug/net6.0/astar.dll
Normal file
BIN
astar/obj/Debug/net6.0/astar.dll
Normal file
Binary file not shown.
BIN
astar/obj/Debug/net6.0/astar.osm-data.resources
Normal file
BIN
astar/obj/Debug/net6.0/astar.osm-data.resources
Normal file
Binary file not shown.
BIN
astar/obj/Debug/net6.0/astar.pdb
Normal file
BIN
astar/obj/Debug/net6.0/astar.pdb
Normal file
Binary file not shown.
BIN
astar/obj/Debug/net6.0/ref/astar.dll
Normal file
BIN
astar/obj/Debug/net6.0/ref/astar.dll
Normal file
Binary file not shown.
BIN
astar/obj/Debug/net6.0/refint/astar.dll
Normal file
BIN
astar/obj/Debug/net6.0/refint/astar.dll
Normal file
Binary file not shown.
@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]
|
23
astar/obj/Release/net6.0/astar.AssemblyInfo.cs
Normal file
23
astar/obj/Release/net6.0/astar.AssemblyInfo.cs
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
|
// Laufzeitversion:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
|
// der Code erneut generiert wird.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("astar")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("astar")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("astar")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Von der MSBuild WriteCodeFragment-Klasse generiert.
|
||||||
|
|
1
astar/obj/Release/net6.0/astar.AssemblyInfoInputs.cache
Normal file
1
astar/obj/Release/net6.0/astar.AssemblyInfoInputs.cache
Normal file
@ -0,0 +1 @@
|
|||||||
|
f8b44d470151f41425c63c4d976c2ccd239de0c8
|
@ -0,0 +1,10 @@
|
|||||||
|
is_global = true
|
||||||
|
build_property.TargetFramework = net6.0
|
||||||
|
build_property.TargetPlatformMinVersion =
|
||||||
|
build_property.UsingMicrosoftNETSdkWeb =
|
||||||
|
build_property.ProjectTypeGuids =
|
||||||
|
build_property.InvariantGlobalization =
|
||||||
|
build_property.PlatformNeutralAssembly =
|
||||||
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
|
build_property.RootNamespace = astar
|
||||||
|
build_property.ProjectDir = D:\Documents\GitHub\astar\astar\
|
8
astar/obj/Release/net6.0/astar.GlobalUsings.g.cs
Normal file
8
astar/obj/Release/net6.0/astar.GlobalUsings.g.cs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
// <auto-generated/>
|
||||||
|
global using global::System;
|
||||||
|
global using global::System.Collections.Generic;
|
||||||
|
global using global::System.IO;
|
||||||
|
global using global::System.Linq;
|
||||||
|
global using global::System.Net.Http;
|
||||||
|
global using global::System.Threading;
|
||||||
|
global using global::System.Threading.Tasks;
|
BIN
astar/obj/Release/net6.0/astar.assets.cache
Normal file
BIN
astar/obj/Release/net6.0/astar.assets.cache
Normal file
Binary file not shown.
BIN
astar/obj/Release/net6.0/astar.csproj.AssemblyReference.cache
Normal file
BIN
astar/obj/Release/net6.0/astar.csproj.AssemblyReference.cache
Normal file
Binary file not shown.
@ -24,6 +24,64 @@
|
|||||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
"https://api.nuget.org/v3/index.json": {}
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
},
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0": {
|
||||||
|
"targetAlias": "net6.0",
|
||||||
|
"projectReferences": {
|
||||||
|
"D:\\Documents\\GitHub\\astar\\Logging\\Logging.csproj": {
|
||||||
|
"projectPath": "D:\\Documents\\GitHub\\astar\\Logging\\Logging.csproj"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0": {
|
||||||
|
"targetAlias": "net6.0",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.202\\RuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"D:\\Documents\\GitHub\\astar\\Logging\\Logging.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "D:\\Documents\\GitHub\\astar\\Logging\\Logging.csproj",
|
||||||
|
"projectName": "Logging",
|
||||||
|
"projectPath": "D:\\Documents\\GitHub\\astar\\Logging\\Logging.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\glax\\.nuget\\packages\\",
|
||||||
|
"outputPath": "D:\\Documents\\GitHub\\astar\\Logging\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"C:\\Users\\glax\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net6.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net6.0": {
|
"net6.0": {
|
||||||
"targetAlias": "net6.0",
|
"targetAlias": "net6.0",
|
||||||
|
@ -1,11 +1,30 @@
|
|||||||
{
|
{
|
||||||
"version": 3,
|
"version": 3,
|
||||||
"targets": {
|
"targets": {
|
||||||
"net6.0": {}
|
"net6.0": {
|
||||||
|
"Logging/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"framework": ".NETCoreApp,Version=v6.0",
|
||||||
|
"compile": {
|
||||||
|
"bin/placeholder/Logging.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"bin/placeholder/Logging.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"Logging/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"path": "../Logging/Logging.csproj",
|
||||||
|
"msbuildProject": "../Logging/Logging.csproj"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"libraries": {},
|
|
||||||
"projectFileDependencyGroups": {
|
"projectFileDependencyGroups": {
|
||||||
"net6.0": []
|
"net6.0": [
|
||||||
|
"Logging >= 1.0.0"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"packageFolders": {
|
"packageFolders": {
|
||||||
"C:\\Users\\glax\\.nuget\\packages\\": {}
|
"C:\\Users\\glax\\.nuget\\packages\\": {}
|
||||||
@ -33,7 +52,11 @@
|
|||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net6.0": {
|
"net6.0": {
|
||||||
"targetAlias": "net6.0",
|
"targetAlias": "net6.0",
|
||||||
"projectReferences": {}
|
"projectReferences": {
|
||||||
|
"D:\\Documents\\GitHub\\astar\\Logging\\Logging.csproj": {
|
||||||
|
"projectPath": "D:\\Documents\\GitHub\\astar\\Logging\\Logging.csproj"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"warningProperties": {
|
"warningProperties": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "Cw8OUiQTRGKYTiepcPLz4hNjruHuhU099F6TcJZXoMuy3CPxFRtWCwgt9HOqokA+Vh0D0rLiHE2sdbhUyywS4g==",
|
"dgSpecHash": "yyc9Hmt6+bSF9SNNtFwTSBrDY2FZIS3UHYnVqsxIdcEBpx0fuZUWAf8kZTpduZu8CUWQDe60RQxJkxdLq/OVIQ==",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "D:\\Documents\\GitHub\\astar\\astar\\astar.csproj",
|
"projectFilePath": "D:\\Documents\\GitHub\\astar\\astar\\astar.csproj",
|
||||||
"expectedPackageFiles": [],
|
"expectedPackageFiles": [],
|
||||||
|
73
astar/osm-data.Designer.cs
generated
Normal file
73
astar/osm-data.Designer.cs
generated
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
|
// Laufzeitversion:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
|
// der Code erneut generiert wird.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace astar {
|
||||||
|
using System;
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||||
|
/// </summary>
|
||||||
|
// Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
|
||||||
|
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
|
||||||
|
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
|
||||||
|
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
public class osm_data {
|
||||||
|
|
||||||
|
private static global::System.Resources.ResourceManager resourceMan;
|
||||||
|
|
||||||
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||||
|
|
||||||
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||||
|
internal osm_data() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
|
||||||
|
/// </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("astar.osm-data", typeof(osm_data).Assembly);
|
||||||
|
resourceMan = temp;
|
||||||
|
}
|
||||||
|
return resourceMan;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
|
||||||
|
/// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
public static global::System.Globalization.CultureInfo Culture {
|
||||||
|
get {
|
||||||
|
return resourceCulture;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
resourceCulture = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
|
||||||
|
/// </summary>
|
||||||
|
public static byte[] map {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("map", resourceCulture);
|
||||||
|
return ((byte[])(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
124
astar/osm-data.resx
Normal file
124
astar/osm-data.resx
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
<?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>
|
||||||
|
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
|
<data name="map" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>Resources\map.osm;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
Loading…
Reference in New Issue
Block a user