Microsoft.R.Editor.Data.RSessionDataObject.GetMaxChildrenCount C# (CSharp) Method

GetMaxChildrenCount() protected method

protected GetMaxChildrenCount ( IREvaluationResultInfo parent ) : int?
parent IREvaluationResultInfo
return int?
        protected int? GetMaxChildrenCount(IREvaluationResultInfo parent) {
            var value = parent as IRValueInfo;
            if (value != null) {
                if (value.Classes.Contains("data.frame")) {
                    return null;
                }
            }
            return DefaultMaxGrandChildren;
        }