public LoadAPIItemsContext(APIDiffInfo info) { if (info.APIDiffItem != null) { PopulateSets(info.APIDiffItem.ChildrenDiffs); } }
public static LoadAPIItemsContext GenerateLoadAPIItemsContext(this APIDiffInfo apiDiffInfo) { return(apiDiffInfo == null ? null : new LoadAPIItemsContext(apiDiffInfo)); }