mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 11:32:59 +00:00
16 lines
403 B
C#
16 lines
403 B
C#
using Esiur.Resource;
|
|
|
|
namespace Esiur.AspNetCore.Example
|
|
{
|
|
[Resource]
|
|
public partial class MyResource
|
|
{
|
|
[Export] int number;
|
|
|
|
[Export]
|
|
public string[] GetInfo() => new string[] { Environment.MachineName, Environment.UserName, Environment.CurrentDirectory,
|
|
Environment.CommandLine, Environment.OSVersion.ToString(), Environment.ProcessPath };
|
|
|
|
}
|
|
}
|