Inheritance: IGetTypeNameString
Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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;
        }