mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
WIP with data binding - bis...
This commit is contained in:
Binary file not shown.
@@ -121,6 +121,7 @@
|
|||||||
<Compile Include="ViewModels\DatabaseVm.cs" />
|
<Compile Include="ViewModels\DatabaseVm.cs" />
|
||||||
<Compile Include="ViewModels\EntryVm.cs" />
|
<Compile Include="ViewModels\EntryVm.cs" />
|
||||||
<Compile Include="ViewModels\GroupVm.cs" />
|
<Compile Include="ViewModels\GroupVm.cs" />
|
||||||
|
<Compile Include="ViewModels\Test.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AppxManifest Include="Package.appxmanifest">
|
<AppxManifest Include="Package.appxmanifest">
|
||||||
|
@@ -14,6 +14,7 @@ namespace ModernKeePass.ViewModels
|
|||||||
public string URL { get; private set; }
|
public string URL { get; private set; }
|
||||||
public string Notes { get; private set; }
|
public string Notes { get; private set; }
|
||||||
|
|
||||||
|
public EntryVm() { }
|
||||||
public EntryVm(PwEntry entry)
|
public EntryVm(PwEntry entry)
|
||||||
{
|
{
|
||||||
Title = entry.Strings.GetSafe(PwDefs.TitleField).ReadString();
|
Title = entry.Strings.GetSafe(PwDefs.TitleField).ReadString();
|
||||||
|
@@ -17,6 +17,8 @@ namespace ModernKeePass.ViewModels
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public GroupVm() { }
|
||||||
|
|
||||||
public GroupVm(PwGroup group)
|
public GroupVm(PwGroup group)
|
||||||
{
|
{
|
||||||
Name = group.Name;
|
Name = group.Name;
|
||||||
|
8
ModernKeePass/ViewModels/Test.cs
Normal file
8
ModernKeePass/ViewModels/Test.cs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
namespace ModernKeePass.ViewModels
|
||||||
|
{
|
||||||
|
public class Test
|
||||||
|
{
|
||||||
|
public string Title { get; set; }
|
||||||
|
}
|
||||||
|
}
|
@@ -1,6 +1,6 @@
|
|||||||
<XamlCompilerSaveState>
|
<XamlCompilerSaveState>
|
||||||
<ReferenceAssemblyList>
|
<ReferenceAssemblyList>
|
||||||
<ReferenceAssembly PathName="c:\users\gbe\source\repos\modernkeepass\packages\modernkeepasslib.2.19.0.27564\lib\netstandard1.2\modernkeepasslib.dll" HashGuid="29b95f3b-9b53-5341-fc4d-d6dbb7ef4dbc" />
|
<ReferenceAssembly PathName="c:\users\gbe\source\repos\modernkeepass\packages\modernkeepasslib.2.19.2910\lib\x86\netstandard1.2\modernkeepasslib.dll" HashGuid="faaa9e31-5da0-29eb-3a86-b4eb77c4ada5" />
|
||||||
<ReferenceAssembly PathName="c:\users\gbe\source\repos\modernkeepass\packages\system.runtime.interopservices.runtimeinformation.4.3.0\lib\win8\system.runtime.interopservices.runtimeinformation.dll" HashGuid="6560d00f-0bb0-0755-5423-c4e1bf779127" />
|
<ReferenceAssembly PathName="c:\users\gbe\source\repos\modernkeepass\packages\system.runtime.interopservices.runtimeinformation.4.3.0\lib\win8\system.runtime.interopservices.runtimeinformation.dll" HashGuid="6560d00f-0bb0-0755-5423-c4e1bf779127" />
|
||||||
</ReferenceAssemblyList>
|
</ReferenceAssemblyList>
|
||||||
</XamlCompilerSaveState>
|
</XamlCompilerSaveState>
|
||||||
|
@@ -111,9 +111,6 @@
|
|||||||
"lib/netstandard1.0/_._": {}
|
"lib/netstandard1.0/_._": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NuSpec.ReferenceGenerator/1.4.2": {
|
|
||||||
"type": "package"
|
|
||||||
},
|
|
||||||
"runtime.native.System/4.3.0": {
|
"runtime.native.System/4.3.0": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -778,19 +775,6 @@
|
|||||||
"lib/netstandard1.0/_._"
|
"lib/netstandard1.0/_._"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"NuSpec.ReferenceGenerator/1.4.2": {
|
|
||||||
"sha512": "0AA2wcMaE84hDxzQOdRi2K2SGgEnJQ4LG6MyTrPvyjjyzeOT1hpUJk/w9NX5QAJy1T5eE7r3wPLq1rALr5oPaQ==",
|
|
||||||
"type": "package",
|
|
||||||
"files": [
|
|
||||||
"NuSpec.ReferenceGenerator.1.4.2.nupkg.sha512",
|
|
||||||
"NuSpec.ReferenceGenerator.nuspec",
|
|
||||||
"build/dotnet/NuSpec.ReferenceGenerator.targets",
|
|
||||||
"build/portable-net45+win+wpa81+wp80+MonoAndroid10+xamarinios10+MonoTouch10/NuSpec.ReferenceGenerator.targets",
|
|
||||||
"tools/RefGen.exe",
|
|
||||||
"tools/RefGen.exe.config",
|
|
||||||
"tools/RefGen.pdb"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"runtime.native.System/4.3.0": {
|
"runtime.native.System/4.3.0": {
|
||||||
"sha512": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==",
|
"sha512": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==",
|
||||||
"type": "package",
|
"type": "package",
|
||||||
@@ -3002,7 +2986,6 @@
|
|||||||
"": [
|
"": [
|
||||||
"Microsoft.NETCore.Portable.Compatibility >= 1.0.2",
|
"Microsoft.NETCore.Portable.Compatibility >= 1.0.2",
|
||||||
"NETStandard.Library >= 2.0.0",
|
"NETStandard.Library >= 2.0.0",
|
||||||
"NuSpec.ReferenceGenerator >= 1.4.2",
|
|
||||||
"System.Net.Requests >= 4.3.0",
|
"System.Net.Requests >= 4.3.0",
|
||||||
"System.Runtime.WindowsRuntime >= 4.3.0",
|
"System.Runtime.WindowsRuntime >= 4.3.0",
|
||||||
"System.Xml.XmlSerializer >= 4.3.0"
|
"System.Xml.XmlSerializer >= 4.3.0"
|
||||||
|
Reference in New Issue
Block a user