Cleanup formatting and references

This commit is contained in:
Wojciech Gadziński
2015-04-26 23:21:08 +02:00
parent c9d30d6cc2
commit fa40f4d8b0
2 changed files with 3 additions and 5 deletions

View File

@@ -7,8 +7,8 @@ namespace Orchard.Core.Common.Utilities {
private Func<T, T> _setter;
public T Value {
get {return GetValue();}
set {SetValue(value);}
get { return GetValue(); }
set { SetValue(value); }
}
public void Loader(Func<T> loader) {
@@ -22,7 +22,7 @@ namespace Orchard.Core.Common.Utilities {
private T GetValue() {
if (_loader != null) {
_value = _loader();
_loader = null;
_loader = null;
}
return _value;
}

View File

@@ -1,8 +1,6 @@
using System;
using System.Collections;
using System.Collections.Generic;
using Orchard.Azure.MediaServices.Models.Records;
using Microsoft.WindowsAzure.MediaServices.Client;
using Orchard.ContentManagement.FieldStorage;
using Orchard.Core.Common.Utilities;
using Orchard.FileSystems.Media;