Пример #1
0
 public ImageBuilder Avatar(Trakker.Data.File file)
 {
     var component = new ImageBase(AssetManager);
     var builder = new ImageBuilder(component, new AvatarImageProfile(), new ImageHtmlBuilder(component), Writer);
     builder.Src(Path.Combine(file.Path, file.FileName));
     return builder;
 }
Пример #2
0
 public ImageHtmlBuilder(ImageBase element)
 {
     Element = element;
 }