Ejemplo n.º 1
0
 /// <summary>
 /// Determine that assignedType can be assigned into variable with targetTypeName without any conversion calls (implicit nor explicit)
 /// Only tests inheritance.
 /// </summary>
 /// <param name="targetTypeName">Name of target variable type.</param>
 /// <param name="assignedTypeName">Name of assigned type.</param>
 /// <returns>True if assigned type is assignable, false otherwise.</returns>
 public bool IsAssignable(string targetTypeName, string assignedTypeName)
 {
     return(_manager.IsAssignable(targetTypeName, assignedTypeName));
 }