Table of Contents

Class ConversionException

Namespace
Mech3DotNet.Reader
Assembly
Mech3DotNet.dll
public class ConversionException : ReaderException, ISerializable
Inheritance
ConversionException
Implements
Inherited Members

Constructors

ConversionException(string, IEnumerable<string>)

public ConversionException(string message, IEnumerable<string> path)

Parameters

message string
path IEnumerable<string>

ConversionException(string, IEnumerable<string>, ReaderValue)

public ConversionException(string message, IEnumerable<string> path, ReaderValue value)

Parameters

message string
path IEnumerable<string>
value ReaderValue

Methods

AddValue(string, IEnumerable<string>, ReaderValue)

protected static string AddValue(string message, IEnumerable<string> path, ReaderValue value)

Parameters

message string
path IEnumerable<string>
value ReaderValue

Returns

string

List(ReaderValue, IEnumerable<string>)

public static ReaderList List(ReaderValue value, IEnumerable<string> path)

Parameters

value ReaderValue
path IEnumerable<string>

Returns

ReaderList

ListFixed(ReaderValue, IEnumerable<string>, int)

public static ReaderList ListFixed(ReaderValue value, IEnumerable<string> path, int count)

Parameters

value ReaderValue
path IEnumerable<string>
count int

Returns

ReaderList

ListSized(ReaderValue, IEnumerable<string>, int, int)

public static ReaderList ListSized(ReaderValue value, IEnumerable<string> path, int min, int max)

Parameters

value ReaderValue
path IEnumerable<string>
min int
max int

Returns

ReaderList

Scalar<TValue>(ReaderValue, IEnumerable<string>, string)

public static TValue Scalar<TValue>(ReaderValue value, IEnumerable<string> path, string message) where TValue : ReaderValue

Parameters

value ReaderValue
path IEnumerable<string>
message string

Returns

TValue

Type Parameters

TValue