Style cleanup
This commit is contained in:
@@ -27,7 +27,7 @@ public interface IScriptSet : IEnumerable<ScriptContainer>
|
||||
/// Gets a script from the set using its unique name.
|
||||
/// </summary>
|
||||
ScriptContainer? Get(StringKey scriptKey);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets a script from the set using its type.
|
||||
/// </summary>
|
||||
@@ -155,8 +155,5 @@ public class ScriptSet : IScriptSet
|
||||
|
||||
/// <inheritdoc />
|
||||
public IEnumerable<StringKey> GetScriptNames() =>
|
||||
_scripts
|
||||
.Select(x => x.Script)
|
||||
.WhereNotNull()
|
||||
.Select(s => s.Name);
|
||||
_scripts.Select(x => x.Script).WhereNotNull().Select(s => s.Name);
|
||||
}
|
||||
Reference in New Issue
Block a user