public static IGetNodeString BuildGetNodeString() { LazyGetTypeNameString lazyGetTypeNameString = new LazyGetTypeNameString(); IGetTypeNameString getTypeNameString = new CompositeGetTypeNameString(new RecursiveGenericTypeGetTypeNameString(lazyGetTypeNameString), new DefaultGetTypeNameString()); lazyGetTypeNameString.GetTypeNameString = getTypeNameString; IGetNodeString getNodeString = new DefaultGetNodeString(new DefaultGetDepthString(), new DefaultGetMemberTypesString(lazyGetTypeNameString)); return(getNodeString); }
public static IGetNodeString BuildGetNodeString() { LazyGetTypeNameString lazyGetTypeNameString = new LazyGetTypeNameString(); IGetTypeNameString getTypeNameString = new CompositeGetTypeNameString(new RecursiveGenericTypeGetTypeNameString(lazyGetTypeNameString), new DefaultGetTypeNameString()); lazyGetTypeNameString.GetTypeNameString = getTypeNameString; IGetNodeString getNodeString = new DefaultGetNodeString(new DefaultGetDepthString(), new DefaultGetMemberTypesString(lazyGetTypeNameString)); return getNodeString; }