You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <para>Adds a default <c>using</c> to the compiled view. This is equivalent to adding <c>@using [NAMESPACE]</c> to every template rendered by the engine'</para>
38
+
/// Current Defaults:
39
+
/// <list type="bullet">
40
+
/// <listheader></listheader>
41
+
/// <item>System.Linq</item>
42
+
/// <item>System.Collections</item>
43
+
/// <item>System.Collections.Generic</item>
44
+
/// </list>
45
+
/// </summary>
46
+
/// <param name="namespaceName">Namespace to add to default usings</param>
15
47
voidAddUsing(stringnamespaceName);
48
+
49
+
/// <summary>
50
+
/// Adds <c>@inherits</c> directive to the compiled template
51
+
/// </summary>
52
+
/// <param name="type">Type to <c>@inherits</c> from</param>
Copy file name to clipboardExpand all lines: RazorEngineCore/RazorEngineCompilationOptionsBuilder.cs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ public void AddMetadataReference(MetadataReference reference)
59
59
}
60
60
61
61
/// <summary>
62
-
/// <para>Adds a default <c>using</c> to the compiled view. This is equivalent to adding <c>@using [NAMESPACE]</c> to every template rendered by the engine'</para>
62
+
/// <para>Adds a default <c>using</c> to the compiled view. This is equivalent to adding <c>@using [NAMESPACE]</c> to the template rendered by the engine'</para>
63
63
/// Current Defaults:
64
64
/// <list type="bullet">
65
65
/// <listheader></listheader>
@@ -75,9 +75,9 @@ public void AddUsing(string namespaceName)
75
75
}
76
76
77
77
/// <summary>
78
-
/// Adds type to @inherit from in the template
78
+
/// Adds <c>@inherits</c> directive to the compiled template
79
79
/// </summary>
80
-
/// <param name="type">Type to @inherit from</param>
80
+
/// <param name="type">Type to <c>@inherits</c> from</param>
0 commit comments