GetSpec() 공개 정적인 메소드

public static GetSpec ( string key, ApiReferenceBuildOutput>.Dictionary references, string supportedLanguages ) : List
key string
references ApiReferenceBuildOutput>.Dictionary
supportedLanguages string
리턴 List
예제 #1
0
 public void Expand(Dictionary <string, ApiReferenceBuildOutput> references, string[] supportedLanguages)
 {
     if (_needExpand)
     {
         _needExpand = false;
         Type.Spec   = ApiBuildOutputUtility.GetSpec(Type.Uid, references, supportedLanguages);
     }
 }
예제 #2
0
        public static ApiCrefInfoBuildOutput FromModel(CrefInfo model, Dictionary <string, ApiReferenceBuildOutput> references, string[] supportedLanguages)
        {
            if (model == null)
            {
                return(null);
            }

            return(new ApiCrefInfoBuildOutput
            {
                Type = new ApiTypeAndSpec
                {
                    Uid = model.Type,
                    Spec = ApiBuildOutputUtility.GetSpec(model.Type, references, supportedLanguages),
                },
                Description = model.Description,
                _needExpand = false,
            });
        }