Forge/Editor/AddDataPopupWindow.cs
/// <summary>
/// Returns the data types which can be added to the given entity.
/// </summary>
Returns the data types which can be added to the given entity.
Returns the data types which can be added to the given entity .
private List<Type> SelectAddableDataTypes(IQueryableEntity entity, IEnumerable<Type> dataTypes) {
            return (from dataType in dataTypes
                    where CanAdd(entity, dataType)
                    select dataType).ToList();
        }
private List < Type > SelectAddableDataTypes ( IQueryableEntity entity , IEnumerable < Type > dataTypes ) { return ( from dataType in dataTypes where CanAdd ( entity , dataType ) select dataType ) . ToList ( ) ; }
Returns the data types which can be added to the given entity.
Returns the data types which can be added to the given entity .
entity
IQueryableEntity
dataTypes
IEnumerable<Type>