source:
binary-improvements2/WebServer/src/LiveData/Animals.cs@
435
| Last change on this file since 435 was 402, checked in by , 3 years ago | |
|---|---|
| File size: 316 bytes | |
| Rev | Line | |
|---|---|---|
| [402] | 1 | namespace Webserver.LiveData { |
| [325] | 2 | public class Animals : EntityFilterList<EntityAnimal> { |
| [312] | 3 | public static readonly Animals Instance = new Animals (); |
| [252] | 4 | |
| [312] | 5 | protected override EntityAnimal predicate (Entity _e) { |
| [402] | 6 | if (_e is EntityAnimal ea && ea.IsAlive ()) { |
| [326] | 7 | return ea; |
| [306] | 8 | } |
| [325] | 9 | |
| [312] | 10 | return null; |
| [306] | 11 | } |
| [325] | 12 | } |
| 13 | } |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)