Skip to content

Commit

Permalink
chore: fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ramezgerges committed Dec 4, 2024
1 parent 4100e8d commit fa1013f
Show file tree
Hide file tree
Showing 25 changed files with 45 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -520,8 +520,8 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_1.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
owner._component_1.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_1.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
owner._component_1.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,10 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_1.UpdateResourceBindings(resourceContextProvider: null);
owner._component_2.UpdateResourceBindings(resourceContextProvider: null);
owner._component_3.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
owner._component_1.UpdateResourceBindings();
owner._component_2.UpdateResourceBindings();
owner._component_3.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ void IMainWindow_Bindings.Update()
void IMainWindow_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
}
void IMainWindow_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,9 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_1.UpdateResourceBindings(resourceContextProvider: null);
owner._component_2.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
owner._component_1.UpdateResourceBindings();
owner._component_2.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_1.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
owner._component_1.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_1.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
owner._component_1.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_1.UpdateResourceBindings(resourceContextProvider: null);
owner._component_2.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
owner._component_1.UpdateResourceBindings();
owner._component_2.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_1.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
owner._component_1.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_1.UpdateResourceBindings(resourceContextProvider: null);
owner._component_2.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
owner._component_1.UpdateResourceBindings();
owner._component_2.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_1.UpdateResourceBindings(resourceContextProvider: null);
owner._component_2.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
owner._component_1.UpdateResourceBindings();
owner._component_2.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_1.UpdateResourceBindings(resourceContextProvider: null);
owner._component_2.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
owner._component_1.UpdateResourceBindings();
owner._component_2.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@ void IMainPage_Bindings.Update()
void IMainPage_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_1.UpdateResourceBindings(resourceContextProvider: null);
owner._component_2.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
owner._component_1.UpdateResourceBindings();
owner._component_2.UpdateResourceBindings();
}
void IMainPage_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ void IBinding_Xaml_Object_With_Common_Properties_Bindings.Update()
void IBinding_Xaml_Object_With_Common_Properties_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
}
void IBinding_Xaml_Object_With_Common_Properties_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ void IBinding_Xaml_Object_With_Xaml_Object_Properties_Bindings.Update()
void IBinding_Xaml_Object_With_Xaml_Object_Properties_Bindings.UpdateResources()
{
var owner = Owner;
owner._component_0.UpdateResourceBindings(resourceContextProvider: null);
owner._component_0.UpdateResourceBindings();
}
void IBinding_Xaml_Object_With_Xaml_Object_Properties_Bindings.StopTracking()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@ private void BuildCompiledBindings(IndentedStringBuilder writer)

if (HasMarkupExtensionNeedingComponent(component.XamlObject) && IsDependencyObject(component.XamlObject))
{
writer.AppendLineIndented($"owner.{component.MemberName}.UpdateResourceBindings(resourceContextProvider: {(component.ResourceContext is { } ctx ? $"owner.{ctx.MemberName}" : "null")});");
writer.AppendLineIndented($"owner.{component.MemberName}.UpdateResourceBindings({(component.ResourceContext is { } ctx ? $"resourceContextProvider: owner.{ctx.MemberName}" : "")});");
}
}
}
Expand Down Expand Up @@ -6358,7 +6358,6 @@ private IEnumerable<XamlObjectDefinition> EnumerateSubElements(IEnumerable<XamlO
|| loadMember?.Value?.ToString()?.ToLowerInvariant() == "false"
|| hasLoadMarkup)
{
var dataContextMember = FindMember(definition, "DataContext");
var nameMember = FindMember(definition, "Name");

var elementStubBaseType = Generation.ElementStubSymbol.Value.BaseType;
Expand Down

0 comments on commit fa1013f

Please sign in to comment.