Пример #1
0
 /// <summary>
 /// The Nameless Company
 /// </summary>
 public static String GetCompany(this INameless nm)
 {
     return(nm.Nameless.Company);
 }
Пример #2
0
 /// <summary>
 /// Gets the id for the given Object
 /// </summary>
 public static Guid GetId(this INameless nm)
 {
     return(nm.Nameless.Id);
 }
Пример #3
0
 /// <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);
 }
Пример #4
0
 /// <summary>
 /// The current version of the software.
 /// </summary>
 public static String GetVersion(this INameless nm)
 {
     return(nm.Nameless.Version);
 }
Пример #5
0
 /// <summary>
 /// Gets the Nameless Data
 /// </summary>
 public static String GetNamelessData(this INameless nm)
 {
     return(nm.Nameless.NamelessData);
 }
Пример #6
0
 /// <summary>
 /// The method or function that is currently running
 /// </summary>
 public static String GetMethodName(this INameless nm)
 {
     return(nm.Nameless.MethodName);
 }
Пример #7
0
 /// <summary>
 /// Gets the compilation date
 /// </summary>
 public static String GetCompileDate(this INameless nm)
 {
     return(nm.Nameless.CompileDate);
 }
Пример #8
0
 /// <summary>
 /// The class name that generate the exception.
 /// </summary>
 public static String GetAPI(this INameless nm)
 {
     return(nm.Nameless.API);
 }
Пример #9
0
 /// <summary>
 /// The class name that generate the exception.
 /// </summary>
 public static String GetClass(this INameless nm)
 {
     return(nm.Nameless.Class);
 }
Пример #10
0
 /// <summary>
 /// The namespace of the current project.
 /// </summary>
 public static String GetNamespace(this INameless nm)
 {
     return(nm.Nameless.Namespace);
 }
Пример #11
0
 /// <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);
 }
Пример #12
0
 /// <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);
 }