Table of Contents

Class ModelState

Namespace
Phoesion.Glow.SDK.Firefly
Assembly
Phoesion.Glow.SDK.Firefly.Abstractions.dll
public sealed class ModelState
Inheritance
object
ModelState

Properties

Errors

public List<ModelValidationResults.Result> Errors { get; }

Property Value

List<ModelValidationResults.Result>

IsValid

public bool IsValid { get; set; }

Property Value

bool

Methods

AddModelError(string, string, List<string>)

Adds the specified errorMessage to the Errors list

public void AddModelError(string errorMessage, string path = null, List<string> memberNames = null)

Parameters

errorMessage string
path string
memberNames List<string>