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
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"> | |
<TypePattern DisplayName="Non-reorderable types"> | |
<TypePattern.Match> | |
<Or> | |
<And> | |
<Kind Is="Interface" /> | |
<Or> | |
<HasAttribute Name="System.Runtime.InteropServices.InterfaceTypeAttribute" /> | |
<HasAttribute Name="System.Runtime.InteropServices.ComImport" /> | |
</Or> |
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
public class CdnMediaUrlProvider : IMediaUrlProvider | |
{ | |
public virtual UrlInfo GetMediaUrl( | |
UmbracoContext umbracoContext, | |
IPublishedContent content, | |
string propertyAlias, | |
UrlMode mode, | |
string culture, | |
Uri current) | |
{ |
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
using Ninject; | |
using Umbraco.IocTest.BLL.Providers; | |
using Umbraco.IocTest.Core.Interfaces; | |
namespace Umbraco.IocTest.BLL | |
{ | |
/// <summary> | |
/// The CommonServices are services that are a 1:1 pair with an implemnting class. | |
/// For example: A single provider interface can only have one implmentation, | |
/// thus this is registered in the common services. |