style?: declare access levels
This commit is contained in:
@@ -172,7 +172,7 @@ class Dumper
|
|||||||
/*
|
/*
|
||||||
* internal helper functions
|
* internal helper functions
|
||||||
*/
|
*/
|
||||||
bool TryGetProp<T>(IEnumerable<FPropertyTag> properties, string propName, out T value)
|
private bool TryGetProp<T>(IEnumerable<FPropertyTag> properties, string propName, out T value)
|
||||||
{
|
{
|
||||||
var prop = properties.FirstOrDefault(p => p.Name.Text == propName);
|
var prop = properties.FirstOrDefault(p => p.Name.Text == propName);
|
||||||
if (prop?.Tag != null)
|
if (prop?.Tag != null)
|
||||||
@@ -188,7 +188,7 @@ class Dumper
|
|||||||
value = default!;
|
value = default!;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
bool TryGetStringProp<T>(IEnumerable<FPropertyTag> properties, string propName, out string value)
|
private bool TryGetStringProp<T>(IEnumerable<FPropertyTag> properties, string propName, out string value)
|
||||||
{
|
{
|
||||||
if (TryGetProp<T>(properties, propName, out var rawValue) && rawValue != null)
|
if (TryGetProp<T>(properties, propName, out var rawValue) && rawValue != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user