提交 6a3f9345 编写于 作者: H Heejae Chang

added more comments

上级 f67bfae2
......@@ -35,6 +35,9 @@ internal sealed class PinnedRemotableDataScope : IDisposable
/// <summary>
/// This indicates whether this scope is for primary branch or not (not forked solution)
///
/// Features like OOP will use this flag to see whether caching information related to this solution
/// can benefit other requests or not
/// </summary>
public bool ForPrimaryBranch => _storage.SolutionState.BranchId == Workspace.PrimaryBranchId;
......
......@@ -34,6 +34,9 @@ internal abstract class ServiceHubServiceBase : IDisposable
/// <summary>
/// Mark whether the solution checksum it got is for primary branch or not
///
/// this flag will be passed down to solution controller to help
/// solution service's cache policy. for more detail, see <see cref="SolutionService"/>
/// </summary>
private bool _fromPrimaryBranch;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册