예제 #1
0
 /// <summary>
 /// Helper method that looks up a code factory model from the model store.
 /// </summary>
 /// <param name="path">The fully qualified path of the model to be loaded from the model store.</param>
 /// <returns>The loaded model or null if the model could not be loaded, or found. </returns>
 protected CsModel LookupModel(string path) => string.IsNullOrEmpty(path) ? null : ModelStore?.GetModel(path) as CsModel;