fix bogus indent in ObjectCreator
This commit is contained in:
@@ -84,13 +84,13 @@ namespace OpenRA
|
|||||||
return ctor.Invoke( a );
|
return ctor.Invoke( a );
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Type> GetTypesImplementing<T>()
|
public IEnumerable<Type> GetTypesImplementing<T>()
|
||||||
{
|
{
|
||||||
var it = typeof(T);
|
var it = typeof(T);
|
||||||
return ModAssemblies.Select( ma => ma.First ).Distinct()
|
return ModAssemblies.Select( ma => ma.First ).Distinct()
|
||||||
.SelectMany(ma => ma.GetTypes()
|
.SelectMany(ma => ma.GetTypes()
|
||||||
.Where(t => t != it && it.IsAssignableFrom(t)));
|
.Where(t => t != it && it.IsAssignableFrom(t)));
|
||||||
}
|
}
|
||||||
|
|
||||||
[AttributeUsage( AttributeTargets.Parameter )]
|
[AttributeUsage( AttributeTargets.Parameter )]
|
||||||
public class ParamAttribute : Attribute
|
public class ParamAttribute : Attribute
|
||||||
|
|||||||
Reference in New Issue
Block a user