public void BuildDrawingImageName_returns_prefixedName_using_CompResKey() { var key = ConverterLogic.BuildDrawingImageName("ElementName", ResKeyInfoUseCompResKey); Console.WriteLine(key); key.Should().Be("{x:Static NameSpaceName:XamlName.ElementNameDrawingImageKey}"); }
public void BuildDrawingImageName_returns_simpleName() { var resKeyInfo = new ResKeyInfo { UseComponentResKeys = false, Prefix = null }; ConverterLogic.BuildDrawingImageName("ElementName", resKeyInfo).Should().Be("ElementNameDrawingImage"); }
public void BuildDrawingImageName_returns_prefixedName() { ConverterLogic.BuildDrawingImageName("ElementName", ResKeyInfoUseNamePrefix).Should().Be("NamePrefix_ElementNameDrawingImage"); }