public static void SendUsage( Type type, Mobile from )
{
ConstructorInfo[] ctors = type.GetConstructors();
bool foundCtor = false;
for ( int i = 0; i < ctors.Length; ++i )
{
ConstructorInfo ctor = ctors[i];
if ( !IsConstructable( ctor, from.AccessLevel ) )
continue;
if ( !foundCtor )
{
foundCtor = true;
from.SendMessage( "Usage:" );
}
SendCtor( type, ctor, from );
}
if ( !foundCtor )
from.SendMessage( "That type is not marked constructable." );
}