Skip to content

Commit 72e0ea6

Browse files
wtgodbedougbu
authored andcommitted
Add more manual types to Mvc.ViewFeatures
1 parent fa8a776 commit 72e0ea6

File tree

1 file changed

+181
-0
lines changed

1 file changed

+181
-0
lines changed

src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.Manual.cs

Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,31 @@ public void Append(Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBufferValue
9999
}
100100
namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Filters
101101
{
102+
internal partial class SaveTempDataFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata, Microsoft.AspNetCore.Mvc.Filters.IResourceFilter, Microsoft.AspNetCore.Mvc.Filters.IResultFilter
103+
{
104+
internal static readonly object SaveTempDataFilterContextKey;
105+
public SaveTempDataFilter(Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory factory) { }
106+
public void OnResourceExecuted(Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext context) { }
107+
public void OnResourceExecuting(Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext context) { }
108+
public void OnResultExecuted(Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext context) { }
109+
public void OnResultExecuting(Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext context) { }
110+
private static System.Threading.Tasks.Task OnStarting(Microsoft.AspNetCore.Http.HttpContext httpContext) { throw null; }
111+
private static void SaveTempData(Microsoft.AspNetCore.Mvc.IActionResult result, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory factory, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> filters, Microsoft.AspNetCore.Http.HttpContext httpContext) { }
112+
internal partial class SaveTempDataContext
113+
{
114+
public SaveTempDataContext() { }
115+
public System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> Filters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
116+
public bool RequestHasUnhandledException { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
117+
public Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory TempDataDictionaryFactory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
118+
public bool TempDataSaved { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
119+
}
120+
}
121+
internal partial class ControllerSaveTempDataPropertyFilter : Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataPropertyFilterBase, Microsoft.AspNetCore.Mvc.Filters.IActionFilter, Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
122+
{
123+
public ControllerSaveTempDataPropertyFilter(Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory factory) : base (default(Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory)) { }
124+
public void OnActionExecuted(Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext context) { }
125+
public void OnActionExecuting(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext context) { }
126+
}
102127
internal partial class ViewDataAttributeApplicationModelProvider
103128
{
104129
public ViewDataAttributeApplicationModelProvider() { }
@@ -140,6 +165,143 @@ public void SetValue(object instance, object value) { }
140165
}
141166
namespace Microsoft.AspNetCore.Mvc.ViewFeatures
142167
{
168+
internal partial class MemberExpressionCacheKeyComparer : System.Collections.Generic.IEqualityComparer<Microsoft.AspNetCore.Mvc.ViewFeatures.MemberExpressionCacheKey>
169+
{
170+
public static readonly Microsoft.AspNetCore.Mvc.ViewFeatures.MemberExpressionCacheKeyComparer Instance;
171+
public MemberExpressionCacheKeyComparer() { }
172+
public bool Equals(Microsoft.AspNetCore.Mvc.ViewFeatures.MemberExpressionCacheKey x, Microsoft.AspNetCore.Mvc.ViewFeatures.MemberExpressionCacheKey y) { throw null; }
173+
public int GetHashCode(Microsoft.AspNetCore.Mvc.ViewFeatures.MemberExpressionCacheKey obj) { throw null; }
174+
}
175+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
176+
internal readonly partial struct MemberExpressionCacheKey
177+
{
178+
public MemberExpressionCacheKey(System.Type modelType, System.Linq.Expressions.MemberExpression memberExpression) { throw null; }
179+
public MemberExpressionCacheKey(System.Type modelType, System.Reflection.MemberInfo[] members) { throw null; }
180+
public System.Linq.Expressions.MemberExpression MemberExpression { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
181+
public System.Reflection.MemberInfo[] Members { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
182+
public System.Type ModelType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
183+
public Microsoft.AspNetCore.Mvc.ViewFeatures.MemberExpressionCacheKey.Enumerator GetEnumerator() { throw null; }
184+
public Microsoft.AspNetCore.Mvc.ViewFeatures.MemberExpressionCacheKey MakeCacheable() { throw null; }
185+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
186+
public partial struct Enumerator
187+
{
188+
private readonly System.Reflection.MemberInfo[] _members;
189+
private int _index;
190+
public Enumerator(in Microsoft.AspNetCore.Mvc.ViewFeatures.MemberExpressionCacheKey key) { throw null; }
191+
public System.Reflection.MemberInfo Current { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]private set { } }
192+
public bool MoveNext() { throw null; }
193+
}
194+
}
195+
internal static partial class Resources
196+
{
197+
internal static string ArgumentCannotBeNullOrEmpty { get { throw null; } }
198+
internal static string ArgumentPropertyUnexpectedType { get { throw null; } }
199+
internal static string Common_PartialViewNotFound { get { throw null; } }
200+
internal static string Common_PropertyNotFound { get { throw null; } }
201+
internal static string Common_TriState_False { get { throw null; } }
202+
internal static string Common_TriState_NotSet { get { throw null; } }
203+
internal static string Common_TriState_True { get { throw null; } }
204+
internal static string CreateModelExpression_NullModelMetadata { get { throw null; } }
205+
internal static System.Globalization.CultureInfo Culture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
206+
internal static string DeserializingTempData { get { throw null; } }
207+
internal static string Dictionary_DuplicateKey { get { throw null; } }
208+
internal static string DynamicViewData_ViewDataNull { get { throw null; } }
209+
internal static string ExpressionHelper_InvalidIndexerExpression { get { throw null; } }
210+
internal static string HtmlGenerator_FieldNameCannotBeNullOrEmpty { get { throw null; } }
211+
internal static string HtmlHelper_MissingSelectData { get { throw null; } }
212+
internal static string HtmlHelper_NotContextualized { get { throw null; } }
213+
internal static string HtmlHelper_NullModelMetadata { get { throw null; } }
214+
internal static string HtmlHelper_SelectExpressionNotEnumerable { get { throw null; } }
215+
internal static string HtmlHelper_TextAreaParameterOutOfRange { get { throw null; } }
216+
internal static string HtmlHelper_TypeNotSupported_ForGetEnumSelectList { get { throw null; } }
217+
internal static string HtmlHelper_WrongSelectDataType { get { throw null; } }
218+
internal static string PropertyOfTypeCannotBeNull { get { throw null; } }
219+
internal static string RemoteAttribute_NoUrlFound { get { throw null; } }
220+
internal static string RemoteAttribute_RemoteValidationFailed { get { throw null; } }
221+
internal static System.Resources.ResourceManager ResourceManager { get { throw null; } }
222+
internal static string SerializingTempData { get { throw null; } }
223+
internal static string TempDataProperties_InvalidType { get { throw null; } }
224+
internal static string TempDataProperties_PublicGetterSetter { get { throw null; } }
225+
internal static string TempData_CannotDeserializeType { get { throw null; } }
226+
internal static string TempData_CannotSerializeType { get { throw null; } }
227+
internal static string TemplatedExpander_PopulateValuesMustBeInvokedFirst { get { throw null; } }
228+
internal static string TemplatedExpander_ValueFactoryCannotReturnNull { get { throw null; } }
229+
internal static string TemplatedViewLocationExpander_NoReplacementToken { get { throw null; } }
230+
internal static string TemplateHelpers_NoTemplate { get { throw null; } }
231+
internal static string TemplateHelpers_TemplateLimitations { get { throw null; } }
232+
internal static string Templates_TypeMustImplementIEnumerable { get { throw null; } }
233+
internal static string TypeMethodMustReturnNotNullValue { get { throw null; } }
234+
internal static string TypeMustDeriveFromType { get { throw null; } }
235+
internal static string UnobtrusiveJavascript_ValidationParameterCannotBeEmpty { get { throw null; } }
236+
internal static string UnobtrusiveJavascript_ValidationParameterMustBeLegal { get { throw null; } }
237+
internal static string UnobtrusiveJavascript_ValidationTypeCannotBeEmpty { get { throw null; } }
238+
internal static string UnobtrusiveJavascript_ValidationTypeMustBeLegal { get { throw null; } }
239+
internal static string UnobtrusiveJavascript_ValidationTypeMustBeUnique { get { throw null; } }
240+
internal static string ValueInterfaceAbstractOrOpenGenericTypesCannotBeActivated { get { throw null; } }
241+
internal static string ViewComponentResult_NameOrTypeMustBeSet { get { throw null; } }
242+
internal static string ViewComponent_AmbiguousMethods { get { throw null; } }
243+
internal static string ViewComponent_AmbiguousTypeMatch { get { throw null; } }
244+
internal static string ViewComponent_AmbiguousTypeMatch_Item { get { throw null; } }
245+
internal static string ViewComponent_AsyncMethod_ShouldReturnTask { get { throw null; } }
246+
internal static string ViewComponent_CannotFindComponent { get { throw null; } }
247+
internal static string ViewComponent_CannotFindMethod { get { throw null; } }
248+
internal static string ViewComponent_InvalidReturnValue { get { throw null; } }
249+
internal static string ViewComponent_IViewComponentFactory_ReturnedNull { get { throw null; } }
250+
internal static string ViewComponent_MustReturnValue { get { throw null; } }
251+
internal static string ViewComponent_SyncMethod_CannotReturnTask { get { throw null; } }
252+
internal static string ViewComponent_SyncMethod_ShouldReturnValue { get { throw null; } }
253+
internal static string ViewData_ModelCannotBeNull { get { throw null; } }
254+
internal static string ViewData_WrongTModelType { get { throw null; } }
255+
internal static string ViewEnginesAreRequired { get { throw null; } }
256+
internal static string ViewEngine_PartialViewNotFound { get { throw null; } }
257+
internal static string ViewEngine_ViewNotFound { get { throw null; } }
258+
internal static string FormatArgumentPropertyUnexpectedType(object p0, object p1, object p2) { throw null; }
259+
internal static string FormatCommon_PartialViewNotFound(object p0, object p1) { throw null; }
260+
internal static string FormatCommon_PropertyNotFound(object p0, object p1) { throw null; }
261+
internal static string FormatCreateModelExpression_NullModelMetadata(object p0, object p1) { throw null; }
262+
internal static string FormatDictionary_DuplicateKey(object p0) { throw null; }
263+
internal static string FormatExpressionHelper_InvalidIndexerExpression(object p0, object p1) { throw null; }
264+
internal static string FormatHtmlGenerator_FieldNameCannotBeNullOrEmpty(object p0, object p1, object p2, object p3, object p4) { throw null; }
265+
internal static string FormatHtmlHelper_MissingSelectData(object p0, object p1) { throw null; }
266+
internal static string FormatHtmlHelper_NullModelMetadata(object p0) { throw null; }
267+
internal static string FormatHtmlHelper_SelectExpressionNotEnumerable(object p0) { throw null; }
268+
internal static string FormatHtmlHelper_TypeNotSupported_ForGetEnumSelectList(object p0, object p1, object p2) { throw null; }
269+
internal static string FormatHtmlHelper_WrongSelectDataType(object p0, object p1, object p2) { throw null; }
270+
internal static string FormatPropertyOfTypeCannotBeNull(object p0, object p1) { throw null; }
271+
internal static string FormatRemoteAttribute_RemoteValidationFailed(object p0) { throw null; }
272+
internal static string FormatTempDataProperties_InvalidType(object p0, object p1, object p2, object p3) { throw null; }
273+
internal static string FormatTempDataProperties_PublicGetterSetter(object p0, object p1, object p2) { throw null; }
274+
internal static string FormatTempData_CannotDeserializeType(object p0) { throw null; }
275+
internal static string FormatTempData_CannotSerializeType(object p0, object p1) { throw null; }
276+
internal static string FormatTemplatedExpander_PopulateValuesMustBeInvokedFirst(object p0, object p1) { throw null; }
277+
internal static string FormatTemplatedViewLocationExpander_NoReplacementToken(object p0) { throw null; }
278+
internal static string FormatTemplateHelpers_NoTemplate(object p0) { throw null; }
279+
internal static string FormatTemplates_TypeMustImplementIEnumerable(object p0, object p1, object p2) { throw null; }
280+
internal static string FormatTypeMethodMustReturnNotNullValue(object p0, object p1) { throw null; }
281+
internal static string FormatTypeMustDeriveFromType(object p0, object p1) { throw null; }
282+
internal static string FormatUnobtrusiveJavascript_ValidationParameterCannotBeEmpty(object p0) { throw null; }
283+
internal static string FormatUnobtrusiveJavascript_ValidationParameterMustBeLegal(object p0, object p1) { throw null; }
284+
internal static string FormatUnobtrusiveJavascript_ValidationTypeCannotBeEmpty(object p0) { throw null; }
285+
internal static string FormatUnobtrusiveJavascript_ValidationTypeMustBeLegal(object p0, object p1) { throw null; }
286+
internal static string FormatUnobtrusiveJavascript_ValidationTypeMustBeUnique(object p0) { throw null; }
287+
internal static string FormatValueInterfaceAbstractOrOpenGenericTypesCannotBeActivated(object p0, object p1) { throw null; }
288+
internal static string FormatViewComponentResult_NameOrTypeMustBeSet(object p0, object p1) { throw null; }
289+
internal static string FormatViewComponent_AmbiguousMethods(object p0, object p1, object p2) { throw null; }
290+
internal static string FormatViewComponent_AmbiguousTypeMatch(object p0, object p1, object p2) { throw null; }
291+
internal static string FormatViewComponent_AmbiguousTypeMatch_Item(object p0, object p1) { throw null; }
292+
internal static string FormatViewComponent_AsyncMethod_ShouldReturnTask(object p0, object p1, object p2) { throw null; }
293+
internal static string FormatViewComponent_CannotFindComponent(object p0, object p1, object p2, object p3) { throw null; }
294+
internal static string FormatViewComponent_CannotFindMethod(object p0, object p1, object p2) { throw null; }
295+
internal static string FormatViewComponent_InvalidReturnValue(object p0, object p1, object p2) { throw null; }
296+
internal static string FormatViewComponent_IViewComponentFactory_ReturnedNull(object p0) { throw null; }
297+
internal static string FormatViewComponent_SyncMethod_CannotReturnTask(object p0, object p1, object p2) { throw null; }
298+
internal static string FormatViewComponent_SyncMethod_ShouldReturnValue(object p0, object p1) { throw null; }
299+
internal static string FormatViewData_ModelCannotBeNull(object p0) { throw null; }
300+
internal static string FormatViewData_WrongTModelType(object p0, object p1) { throw null; }
301+
internal static string FormatViewEnginesAreRequired(object p0, object p1, object p2) { throw null; }
302+
internal static string FormatViewEngine_PartialViewNotFound(object p0, object p1) { throw null; }
303+
internal static string FormatViewEngine_ViewNotFound(object p0, object p1) { throw null; }
304+
}
143305
internal partial class TempDataApplicationModelProvider
144306
{
145307
public TempDataApplicationModelProvider(Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer tempDataSerializer) { }
@@ -202,4 +364,23 @@ internal partial class TempDataMvcOptionsSetup
202364
public TempDataMvcOptionsSetup() { }
203365
public void Configure(Microsoft.AspNetCore.Mvc.MvcOptions options) { }
204366
}
367+
}
368+
namespace Microsoft.AspNetCore.Components.Rendering
369+
{
370+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
371+
internal readonly partial struct ComponentRenderedText
372+
{
373+
public ComponentRenderedText(int componentId, System.Collections.Generic.IEnumerable<string> tokens) { throw null; }
374+
public int ComponentId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
375+
public System.Collections.Generic.IEnumerable<string> Tokens { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
376+
}
377+
internal partial class HtmlRenderer : Microsoft.AspNetCore.Components.RenderTree.Renderer
378+
{
379+
public HtmlRenderer(System.IServiceProvider serviceProvider, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Func<string, string> htmlEncoder) : base (default(System.IServiceProvider), default(Microsoft.Extensions.Logging.ILoggerFactory)) { }
380+
public override Microsoft.AspNetCore.Components.Dispatcher Dispatcher { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
381+
protected override void HandleException(System.Exception exception) { }
382+
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Rendering.ComponentRenderedText> RenderComponentAsync(System.Type componentType, Microsoft.AspNetCore.Components.ParameterView initialParameters) { throw null; }
383+
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Rendering.ComponentRenderedText> RenderComponentAsync<TComponent>(Microsoft.AspNetCore.Components.ParameterView initialParameters) where TComponent : Microsoft.AspNetCore.Components.IComponent { throw null; }
384+
protected override System.Threading.Tasks.Task UpdateDisplayAsync(in Microsoft.AspNetCore.Components.RenderTree.RenderBatch renderBatch) { throw null; }
385+
}
205386
}

0 commit comments

Comments
 (0)