Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic Item Templates for VS2022 - #25 #26

Merged
merged 1 commit into from
Jan 25, 2024
Merged

Generic Item Templates for VS2022 - #25 #26

merged 1 commit into from
Jan 25, 2024

Conversation

egvijayanand
Copy link
Owner

  • A revolutionary Xamarin.Forms generic item template, in XAML and C#, for creating items of any type from within Visual Studio 2022 IDE
  • Both need one required input, the base type (select a value from the predefined ones or enter a value)
  • Optionally takes another input, to specify the generic base type
  • In addition, the XAML template takes one more input (xaml only), and when opted, generates only the XAML definition

Note: Namespace resolution in both XAML and C# files is left to the user as deriving them with the template is outside its scope.

Tip: For the XAML template, pass the xmlns scope as part of the input parameter value and it'll be used appropriately in the generated source files.

Tip: Tip: Use local scope to refer to the types in the same directory like Views. For example, local:BasePage.

Copy link
Owner Author

@egvijayanand egvijayanand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed. Good to go.

@egvijayanand egvijayanand merged commit 2429dd7 into main Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant