Table of Contents

Method Where

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Where<TPoint>(IImplicitShape<TPoint>, Func<TPoint, bool>)

Creates a generic Function Shape that works as a Generic Where.

public static IImplicitShape<TPoint> Where<TPoint>(IImplicitShape<TPoint> shape, Func<TPoint, bool> predicate)

Parameters

shape IImplicitShape<TPoint>

Shape to apply the Where operation.

predicate Func<TPoint, bool>

Predicate that indicate the where condition.

Returns

IImplicitShape<TPoint>

Type Parameters

TPoint

Type of the point.