/// <summary> /// The Nameless Company /// </summary> public static String GetCompany(this INameless nm) { return(nm.Nameless.Company); }
/// <summary> /// Gets the id for the given Object /// </summary> public static Guid GetId(this INameless nm) { return(nm.Nameless.Id); }
/// <summary> /// Meet the maker /// The Nameless Author, the API maker. /// </summary> /// <param name="nm">The nameless interface</param> public static String GetAuthor(this INameless nm) { return(nm.Nameless.Author); }
/// <summary> /// The current version of the software. /// </summary> public static String GetVersion(this INameless nm) { return(nm.Nameless.Version); }
/// <summary> /// Gets the Nameless Data /// </summary> public static String GetNamelessData(this INameless nm) { return(nm.Nameless.NamelessData); }
/// <summary> /// The method or function that is currently running /// </summary> public static String GetMethodName(this INameless nm) { return(nm.Nameless.MethodName); }
/// <summary> /// Gets the compilation date /// </summary> public static String GetCompileDate(this INameless nm) { return(nm.Nameless.CompileDate); }
/// <summary> /// The class name that generate the exception. /// </summary> public static String GetAPI(this INameless nm) { return(nm.Nameless.API); }
/// <summary> /// The class name that generate the exception. /// </summary> public static String GetClass(this INameless nm) { return(nm.Nameless.Class); }
/// <summary> /// The namespace of the current project. /// </summary> public static String GetNamespace(this INameless nm) { return(nm.Nameless.Namespace); }
/// <summary> /// Appends an entry to the log. /// </summary> /// <param name="msg">The entry message.</param> /// <param name="type">The protocol type.</param> /// <param name="nameless">The nameless object.</param> public void AppendEntry(string msg, Protocol type, INameless nameless) { this.AppendEntry(msg, type, nameless.Nameless.MethodName, nameless.Nameless.Class); }
/// <summary> /// Appends the entry. /// </summary> /// <param name="exc">The exception.</param> /// <param name="nameless">Extract the information from the nameless Object</param> /// <param name="printStackTrace">if set to <c>true</c> [print stack trace].</param> public void AppendEntry(Exception exc, INameless nameless) { this.AppendEntry(exc, nameless.Nameless, false); }