25 lines
600 B
C#
25 lines
600 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MP.MONO.DECODER
|
|
{
|
|
public class MyClass
|
|
{
|
|
public int IntegerProperty { get; set; }
|
|
public void DoSomething(string p)
|
|
{
|
|
Console.WriteLine($"Doing something: {p}");
|
|
}
|
|
|
|
public void SaveData(string key, object objVal)
|
|
{
|
|
string rawData = JsonConvert.SerializeObject(objVal);
|
|
Console.WriteLine($"Request save | key: {key} | value: {rawData}");
|
|
}
|
|
}
|
|
}
|