- correzione tag extraction
- correzione indentazione json
This commit is contained in:
Samuele Locatelli
2024-10-21 20:09:28 +02:00
parent 3623e0059f
commit 9fad86eb17
16 changed files with 137 additions and 98 deletions
+16 -1
View File
@@ -48,7 +48,22 @@ namespace MP.FileData.DatabaseModels
set
{
// serializzo a byte
FileContent = Encoding.ASCII.GetBytes(value);
//FileContent = Encoding.ASCII.GetBytes(value);
FileContent = Encoding.UTF8.GetBytes(value);
}
}
[NotMapped]
public string Extension
{
get
{
string answ = "";
if(!string.IsNullOrEmpty(Name))
{
int sPos = Name.LastIndexOf('.');
answ = Name.Substring(sPos);
}
return answ;
}
}