/// <summary>
 /// Instantiates an instance of <see cref="ResourceTypeAlreadySet"/>
 /// </summary>
 /// <param name="resourceType"></param>
 /// <param name="resourceTypeImplementation"></param>
 public ResourceTypeAlreadySet(ResourceType resourceType, ResourceTypeImplementation resourceTypeImplementation)
     : base($"")
 {
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ResourceTypeAlreadySet"/> class.
 /// </summary>
 /// <param name="resourceType"><see cref="ResourceType"/> that is already set.</param>
 /// <param name="resourceTypeImplementation">Existing mapped <see cref="ResourceTypeImplementation"/>.</param>
 public ResourceTypeAlreadySet(ResourceType resourceType, ResourceTypeImplementation resourceTypeImplementation)
     : base($"Resource type '{resourceType}' is already mapped to implementation '{resourceTypeImplementation}'")
 {
 }