in your html
<link rel="stylesheet" src="site.less?browser=ie" />
site.less
.opacity(@alpha: 100) {
.opacity(@browser, @alpha);
}
.opacity(ie, @alpha) {
public class ContainerException : Exception { | |
public ContainerException(string s) : base(s) {} | |
} | |
public interface IContainer { | |
void Add<T>(); | |
void Add<Interface, Component>() | |
void Add<T>(Func<T> resolver) | |
T Resolve<T>() | |
object Resolve(Type type) |
in your html
<link rel="stylesheet" src="site.less?browser=ie" />
site.less
.opacity(@alpha: 100) {
.opacity(@browser, @alpha);
}
.opacity(ie, @alpha) {
var Vehicle = Class.extend({ | |
wheels: function(){ | |
return null; // does nothing. | |
} | |
}); | |
var Car = Vehicle.extend({ | |
wheels: functions(){ | |
return 4; | |
} |
/* -------------------------------------------------------------- | |
grid-css.less | |
* Sets up an easy-to-use grid of 24 columns. | |
By default, the grid is 950px wide, with 24 columns | |
spanning 30px, and a 10px margin between columns. | |
If you need fewer or more columns, namespaces or semantic | |
element names, use the compressor script (lib/compress.rb) |
/* -------------------------------------------------------------- | |
reset.css | |
* Resets default browser CSS. | |
-------------------------------------------------------------- */ | |
@import "reset"; | |
#blueprint > .reset(); |
03. Salt Unrated Extended Cut.mp4 | |
127.Hours.2010.720p.BRRip.XviD.AC3-ViSiON.avi | |
1408.avi | |
24 - Redemption.avi | |
30 Days of Night.avi | |
A River Runs Through It[1992][Eng][Mp4-H.264][Dvdrip]-Titan.mp4 | |
A Scanner Darkly.avi | |
A Single Man.avi | |
AVP - Aliens vs Predators.avi | |
AVPR - Aliens vs Preditor Requiem.avi |
public static MvcHtmlString TemplatedPartial(this HtmlHelper helper, string partialName, object model, string[] names, params Func<object, HelperResult>[] templates) | |
{ | |
if (names.Length < templates.Length) | |
throw new InvalidOperationException("Please provide a name for each template."); | |
var viewData = new ViewDataDictionary(helper.ViewData); | |
var templateResults = new Dictionary<string, HelperResult>(); |
--- | |
Project/Src/StyleCop/AnalyzersOptions.cs | 15 +++++++++++-- | |
Project/Src/StyleCop/Settings/WritableSettings.cs | 26 +++++++++++++++++------ | |
2 files changed, 33 insertions(+), 8 deletions(-) | |
diff --git a/Project/Src/StyleCop/AnalyzersOptions.cs b/Project/Src/StyleCop/AnalyzersOptions.cs | |
index 384bf30..56b11d5 100644 | |
--- a/Project/Src/StyleCop/AnalyzersOptions.cs | |
+++ b/Project/Src/StyleCop/AnalyzersOptions.cs | |
@@ -831,7 +831,11 @@ namespace StyleCop |