C# Class Microsoft.AspNetCore.JsonPatch.Helpers.RemovedPropertyTypeResult

Return value for Remove operation. The combination tells us what to do next (if this operation is called from inside another operation, eg: Replace, Copy. Possible combo: - ActualType contains type: operation succesfully completed, can continue when called from inside another operation - ActualType null and HasError true: operation not completed succesfully, should not be allowed to continue - ActualType null and HasError false: operation completed succesfully, but we should not be allowed to continue when called from inside another method as we could not verify the type of the removed property. This happens when the value of an item in an ExpandoObject dictionary is null.
Show file Open project: aspnet/JsonPatch

Public Methods

Method Description
RemovedPropertyTypeResult ( Type actualType, bool hasError ) : System

Method Details

RemovedPropertyTypeResult() public method

public RemovedPropertyTypeResult ( Type actualType, bool hasError ) : System
actualType System.Type
hasError bool
return System