mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Cleanup formatting and references
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user