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>
/// <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
+
/// Current Defaults:
64
+
/// <list type="bullet">
65
+
/// <listheader></listheader>
66
+
/// <item>System.Linq</item>
67
+
/// <item>System.Collections</item>
68
+
/// <item>System.Collections.Generic</item>
69
+
/// </list>
70
+
/// </summary>
71
+
/// <param name="namespaceName">Namespace to add to default usings</param>
44
72
publicvoidAddUsing(stringnamespaceName)
45
73
{
46
74
this.Options.DefaultUsings.Add(namespaceName);
47
75
}
48
76
77
+
/// <summary>
78
+
/// Adds <c>@inherits</c> directive to the compiled template
79
+
/// </summary>
80
+
/// <param name="type">Type to <c>@inherits</c> from</param>
0 commit comments