PROG
- correzione tag extraction - correzione indentazione json
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user