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

Refactoring code that references WinUIXamlMediaData and WinCompData to UIData. #104

Merged
merged 2 commits into from
Apr 26, 2019

Conversation

plaiMS
Copy link
Contributor

@plaiMS plaiMS commented Apr 25, 2019

This is the second and final part of the refactoring. Code that will reference WinUIXamlMediaData and WinCompData is moved to UIData.

public static readonly Color White = Color.FromArgb(255, 255, 255, 255);
public static readonly Color WhiteSmoke = Color.FromArgb(255, 245, 245, 245);
public static readonly Color Yellow = Color.FromArgb(255, 255, 255, 0);
public static readonly Color YellowGreen = Color.FromArgb(255, 154, 205, 50);
}
}
Copy link
Contributor

@sohchatt sohchatt Apr 25, 2019

Choose a reason for hiding this comment

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

@simeoncran So does stylecop just complain about this (no newline at the end) but not do anything? #WontFix

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is it complaining on your machine? I don't see any complains on mine.


In reply to: 278657261 [](ancestors = 278657261)

Copy link
Contributor

@sohchatt sohchatt Apr 26, 2019

Choose a reason for hiding this comment

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

I see it in the github ui. Just wondering how stylecop is actually enforced; not a blocker to merging. #WontFix

Copy link
Contributor

Choose a reason for hiding this comment

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

Stylecop runs the set of rules that we tell it to run. For some files we turn off some rules. Perhaps this was suppressed before and isn't any more.


In reply to: 278657261 [](ancestors = 278657261)

@@ -19,17 +19,17 @@ sealed class CodeBuilder

internal bool IsEmpty => _lines.Count == 0;

internal void WriteLine()
Copy link
Contributor

@simeoncran simeoncran Apr 26, 2019

Choose a reason for hiding this comment

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

This file should be moved into UIData and methods should go back to internal. This is really just an implementation detail of the CodeGen code. #Resolved


/// <summary>
/// A simple non-extensible node type.
/// </summary>
Copy link
Contributor

@simeoncran simeoncran Apr 26, 2019

Choose a reason for hiding this comment

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

[](start = 21, length = 1)

I don't see Graph and ObjectGraph in UIData. How can it build without them? #Resolved

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These two files were already added to UIData in the last PR.


In reply to: 279119575 [](ancestors = 279119575)

Copy link
Contributor

@simeoncran simeoncran left a comment

Choose a reason for hiding this comment

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

🕐

Copy link
Contributor

@simeoncran simeoncran left a comment

Choose a reason for hiding this comment

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

:shipit:

@plaiMS plaiMS merged commit e1a583c into master Apr 26, 2019
@delete-merged-branch delete-merged-branch bot deleted the RefactorForUIXamlMedia branch April 26, 2019 23:25
@michael-hawker michael-hawker added this to the 6.0 milestone Nov 13, 2019
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.

None yet

4 participants