cs2ts-example
cs2ts-example copied to clipboard
Guid
Hi this is just what i was looking for, however just wondering what your thoughts are on working with Guid types
What i really wanted was a way to explicitly select the types I wanted interfaces for rather than discovering from the api. so added this logic that can be used in GenerateTypeScriptInterfaces
// useage DiscoverType(typeof(TVehicleCheckReport)) public static Type[] DiscoverType(Type t) { var types = new List<Type>(); types.Add(t); types.AddRange(GetAllNestedTypes(t)); return types.ToArray<Type>(); }