obfuz/Runtime/ObfuscationInstincts.cs

32 lines
787 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Obfuz
{
public static class ObfuscationInstincts
{
/// <summary>
/// Returns the original full name before obfuscated of the type T
/// </summary>
/// <typeparam name="T"></typeparam>
/// <returns></returns>
public static string FullNameOf<T>()
{
return typeof(T).FullName;
}
/// <summary>
/// Returns the original name before obfuscated of the type T
/// </summary>
/// <typeparam name="T"></typeparam>
/// <returns></returns>
public static string NameOf<T>()
{
return typeof(T).Name;
}
}
}