Skip to content

Commit

Permalink
Fixed an issue where feature profile expressions could not be seriali…
Browse files Browse the repository at this point in the history
…zed. (#15976)
  • Loading branch information
TonyWoo authored May 6, 2024
1 parent f53d16c commit c5c7e03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class FeatureProfile

public string Name { get; set; }

public List<FeatureRule> FeatureRules = [];
public List<FeatureRule> FeatureRules { get; set; } = [];
}

public class FeatureRule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private sealed class UpdateDelegates
{
public UpdateDelegate UpdateDelegateAsync;
public AfterUpdateDelegate AfterUpdateDelegateAsync;
public HashSet<object> Targets = [];
public HashSet<object> Targets { get; set; } = [];
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ public class XmlRpcContext
public IUrlHelper Url { get; set; }
public XRpcMethodCall RpcMethodCall { get; set; }
public XRpcMethodResponse RpcMethodResponse { get; set; }
public ICollection<IXmlRpcDriver> Drivers = [];
public ICollection<IXmlRpcDriver> Drivers { get; set; } = [];
}
}

0 comments on commit c5c7e03

Please sign in to comment.