Last change
on this file since 4893 was
4871,
checked in by epitzer, 14 years ago
|
Refactoring and modularization of DebugEngine (#47)
|
File size:
405 bytes
|
Rev | Line | |
---|
[4871] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Text;
|
---|
| 5 | using HeuristicLab.Persistence.Auxiliary;
|
---|
| 6 |
|
---|
| 7 | namespace HeuristicLab.DebugEngine {
|
---|
| 8 | public static class Utils {
|
---|
| 9 | public static string TypeName(object obj) {
|
---|
| 10 | if (obj == null)
|
---|
| 11 | return "null";
|
---|
| 12 | return TypeNameParser.Parse(obj.GetType().ToString()).GetTypeNameInCode(true);
|
---|
| 13 | }
|
---|
| 14 | }
|
---|
| 15 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.