This file contains hidden or 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
using System; | |
using Umbraco.Core; | |
using Umbraco.Core.Models.PublishedContent; | |
using Umbraco.Core.PropertyEditors; | |
using Umbraco.Core.PropertyEditors.ValueConverters; | |
using Umbraco.Web.PropertyEditors.ValueConverters; | |
namespace Our.Umbraco.Web.HotFixes | |
{ | |
public class MyApplicationEventHandler : ApplicationEventHandler |
This file contains hidden or 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
using System; | |
using Umbraco.Core.Models.PublishedContent; | |
using Umbraco.Core.PropertyEditors; | |
namespace Our.Umbraco.Web.PropertyEditors | |
{ | |
public class UmbracoFormsPickerValueConverter : PropertyValueConverterBase, IPropertyValueConverterMeta | |
{ | |
public override bool IsConverter(PublishedPropertyType propertyType) | |
{ |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Reflection; | |
using Umbraco.Forms.Core.Common; | |
namespace Our.Umbraco.Web.Extensions | |
{ | |
public static class ProviderCollectionExtensions | |
{ | |
public static void RemoveProvider<T>(this ProviderCollection<T> collection, params string[] providerIds) |
This file contains hidden or 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
using System; | |
using System.IO; | |
using System.Net; | |
using System.Threading.Tasks; | |
using System.Web; | |
using System.Web.Hosting; | |
using ImageProcessor.Web.Services; | |
namespace UmbrellaInc.Web.Services | |
{ |
This file contains hidden or 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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace Our.Umbraco.Ditto | |
{ | |
public class ToListAttribute : DittoProcessorAttribute | |
{ | |
public override object ProcessValue() |
This file contains hidden or 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
using System.Linq; | |
using Umbraco.Core; | |
using Umbraco.Core.Configuration; | |
using Umbraco.Core.Logging; | |
using Umbraco.Web; | |
using Umbraco.Web.Routing; | |
namespace Our.Umbraco.Web.Routing.ContentFinders | |
{ | |
public class ContentFinderByAsciiUrl : IContentFinder |
This file contains hidden or 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
<html> | |
<head> | |
<title>canvas</title> | |
</head> | |
<body bgcolor="white"> | |
<h1>canvas</h1> | |
<canvas id="logo"></canvas> | |
<script> | |
var can = document.getElementById("logo"); |
This file contains hidden or 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
using Umbraco.Core; | |
using Umbraco.Web.Editors; | |
namespace Our.Umbraco | |
{ | |
public class MyBootstrapper : ApplicationEventHandler | |
{ | |
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) | |
{ | |
EditorModelEventManager.SendingContentModel += (sender, e) => |
This file contains hidden or 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
using System.Web; | |
using Umbraco.Core; | |
namespace Our.Umbraco.Ditto | |
{ | |
public class QueryStringAttribute : DittoProcessorAttribute | |
{ | |
public QueryStringAttribute(string key) | |
: this() | |
{ |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Umbraco.Core; | |
using Umbraco.Core.Models; | |
using Umbraco.Core.Models.PublishedContent; | |
namespace Our.Umbraco.Web.Models | |
{ | |
public class SupersetPublishedContent : IPublishedContent |