rename ITraitPrerequisite<T> to Requires<T>

This commit is contained in:
Chris Forbes
2011-05-04 15:17:57 +12:00
parent 8aa206ef95
commit d86e0ec522
30 changed files with 34 additions and 34 deletions

View File

@@ -114,7 +114,7 @@ namespace OpenRA
return info
.GetType()
.GetInterfaces()
.Where( t => t.IsGenericType && t.GetGenericTypeDefinition() == typeof( ITraitPrerequisite<> ) )
.Where( t => t.IsGenericType && t.GetGenericTypeDefinition() == typeof( Requires<> ) )
.Select( t => t.GetGenericArguments()[ 0 ] )
.ToList();
}