Beispiel #1
0
 public TagData(string folder_name)
 {
     this.folder_name = folder_name;
     if (File.Exists(get_path()))
     {
         myStruct = JsonConvert.DeserializeObject <TagStruct>(File.ReadAllText(get_path()));
     }
     if (myStruct == null)
     {
         myStruct = new TagStruct();
     }
 }
Beispiel #2
0
 public void SetTag(TagStruct tag)
 {
     myStruct = tag;
 }