src/Inflatable/ClassMapper/MappingSource.cs
/// <summary>
/// Sets up the child types.
/// </summary>
/// <returns>The concrete types found</returns>
Sets up the child types.
Sets up the child types .
private void SetupChildTypes()
        {
            Logger.Information("Setting up child type discovery for {Name:l}", Source.Name);
            ConcreteTypes = DiscoverConcreteTypes.FindConcreteTypes(TypeGraphs);
            for (var i = 0; i < ConcreteTypes.Length; i++)
            {
                var ConcreteType = ConcreteTypes[i];
                if (ConcreteType is null)
                    continue;
                var Types = TypeGraphs[ConcreteType]?.ToList();
                if (Types is null)
                    continue;
                for (var x = 0; x < Types.Count; x++)
                {
                    ChildTypes.Add(Types[x], ConcreteType);
                }
            }
        }
private void SetupChildTypes ( ) { Logger . Information ( " " , Source . Name ) ; ConcreteTypes = DiscoverConcreteTypes . FindConcreteTypes ( TypeGraphs ) ; for ( var i = 0 ; i < ConcreteTypes . Length ; i ++ ) { var ConcreteType = ConcreteTypes [ i ] ; if ( ConcreteType is null ) continue ; var Types = TypeGraphs [ ConcreteType ] ? . ToList ( ) ; if ( Types is null ) continue ; for ( var x = 0 ; x < Types . Count ; x ++ ) { ChildTypes . Add ( Types [ x ] , ConcreteType ) ; } } }
Sets up the child types.
Sets up the child types .
The concrete types found
The concrete types found