.NET Portable TypeCast  3.1.0.4
A, easy-to-use tested, generic, portable, runtime-extensible, arbitrary type converter library
IConvertContext.cs
Go to the documentation of this file.
1 // <copyright file=mitlicense.md url=http://lsauer.mit-license.org/ >
2 // Lo Sauer, 2013-2016
3 // </copyright>
4 // <summary> A tested, generic, portable, runtime-extensible type converter library </summary
5 // <language> C# > 6.0 </language>
6 // <version> 3.1.0.2 </version>
7 // <author> Lorenz Lo Sauer; people credited in the sources </author>
8 // <project> https://github.com/lsauer/dotnet-portable-type-cast </project>
9 namespace Core.TypeCast
10 {
11  using System;
12  using System.Reflection;
13  using Base;
14 
18  public interface IConvertContext
19  {
20  Type From { get; }
21  Type To { get; }
22  Type Argument { get; }
23  object Value { get; }
25  string Caller { get; }
26  bool? Nullable { get; }
27  bool? ThrowExceptions { get; }
28  object Method { get; }
29  MethodInfo MethodInfo { get; }
30  }
31 }
The common IConvertContext interface.
The Converter base class, providing a simple container for conversion types, ConverterAttribute and c...
Definition: Converter.cs:22