Replace .WithInterface<T>().Any() => .HasTraitInfo<T>()

This commit is contained in:
atlimit8
2015-09-19 12:38:16 -05:00
parent b38b6eadd0
commit 6e39a5e264
4 changed files with 6 additions and 6 deletions

View File

@@ -279,7 +279,7 @@ namespace OpenRA.Traits
[SuppressMessage("StyleCop.CSharp.NamingRules", "SA1302:InterfaceNamesMustBeginWithI", Justification = "Not a real interface, but more like a tag.")]
public interface Requires<T> where T : class, ITraitInfo { }
[SuppressMessage("StyleCop.CSharp.NamingRules", "SA1302:InterfaceNamesMustBeginWithI", Justification = "Not a real interface, but more like a tag.")]
public interface UsesInit<T> where T : IActorInit { }
public interface UsesInit<T> : ITraitInfo where T : IActorInit { }
public interface INotifySelected { void Selected(Actor self); }
public interface INotifySelection { void SelectionChanged(); }