Replacement for JDIS Importer
Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using System.IO;
- using System.Text.Json;
- using Microsoft.Identity.Client;
-
- namespace jdis_import
- {
-
- public static class JsonFileReader
- {
- public static async Task<T> ReadAsync<T>(string filePath)
- {
- using FileStream stream = File.OpenRead(filePath);
- return await JsonSerializer.DeserializeAsync<T>(stream);
- }
- }
- public class JSetting {
- public string secretv{get;set;}
- public string secretid{get;set;}
- public string objectid{get;set;}
- public string tenentid{get;set;}
- public string appid{get;set;}
-
- }
- public class Jvalues{
- public string name{get;set;}
- public string value{get;set;}
- }
- }
|