Documentation
Table of Contents

Method Project

Namespace
IntentSharp.Extensions
Assembly
IntentSharp.dll

Project<TIn, TOut>(AIResult<TIn>, Func<TIn, TOut>)

Re-shapes a result's value while keeping every piece of metadata.

public static AIResult<TOut> Project<TIn, TOut>(AIResult<TIn> source, Func<TIn, TOut> projector)

Parameters

source AIResult<TIn>
projector Func<TIn, TOut>

Returns

AIResult<TOut>

Type Parameters

TIn
TOut