Skip to content

Change references from .NET Framework to .NET (where appropriate) - #16629

Merged
Thraka merged 2 commits into
masterfrom
adegeo-13813-xaml
Jan 21, 2020
Merged

Thraka merged 2 commits into
masterfrom
adegeo-13813-xaml

Conversation

@Thraka

@Thraka Thraka commented Jan 10, 2020

Copy link
Copy Markdown
Contributor

Summary

Changed a lot of references from .NET Framework to a generic .NET to make it apply to both framework and .NET Core. Further, this will make it apply to .NET 5 in the future.

Contributes to #13813

@tdykstra tdykstra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

# XAMLServices class and basic XAML reading or writing

<xref:System.Xaml.XamlServices> is a class provided by .NET Framework XAML Services that can be used to address XAML scenarios that don't require specific access to the XAML node stream or to XAML type system information obtained from those nodes. <xref:System.Xaml.XamlServices> API can be summarized as follows: `Load` or `Parse` to support a XAML load path, `Save` to support a XAML save path, and `Transform` to provide a technique that joins a load path and save path. `Transform` can be used to change from one XAML schema to another. This topic summarizes each of these API classifications and describes the differences between particular method overloads.
<xref:System.Xaml.XamlServices> is a class provided by .NET that can be used to address XAML scenarios that don't require specific access to the XAML node stream or to XAML type system information obtained from those nodes. <xref:System.Xaml.XamlServices> API can be summarized as follows: `Load` or `Parse` to support a XAML load path, `Save` to support a XAML save path, and `Transform` to provide a technique that joins a load path and save path. `Transform` can be used to change from one XAML schema to another. This topic summarizes each of these API classifications and describes the differences between particular method overloads.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Doesn't that imply that it's provided by all the .NET ecyosystem, which includes .NET Standard and Xamarin ?

The API docs https://docs.microsoft.com/en-us/dotnet/api/system.xaml.xamlservices?view=netframework-4.8 state it's applied to .NET Core and .NET Framework, but doesn't mention .NET Standard or Xamarin

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It could be interpreted that way, but I don't think it needs to be. Saying something is from .NET doesn't necessarily mean it's supported by everything that implements .NET in some form. You'll still need to check any API for compatibility. .NET Standard is a specification set of APIs, by saying something is .NET compatible, you don't automatically imply it's supported by .NET Standard.

@mairaw What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants