This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src='@Umbraco.ImageGenUrl(Model.Content.GetPropertyValue<int>("image"), new { width = 200, height = 270, crop = "resize" })' | |
alt="Image" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace MyNamespace.Knockout | |
{ | |
public class BeginKnockoutLoadingContainerWriter : IDisposable | |
{ | |
protected ViewContext _viewContext; | |
public BeginKnockoutLoadingContainerWriter(ViewContext context) | |
{ | |
if (context == null) | |
throw new ArgumentNullException("context"); |