public static RamlProperties Load(string refFilePath) { return(new RamlProperties { Namespace = RamlReferenceReader.GetRamlNamespace(refFilePath), Source = RamlReferenceReader.GetRamlSource(refFilePath), ClientName = RamlReferenceReader.GetClientRootClassName(refFilePath), UseAsyncMethods = RamlReferenceReader.GetRamlUseAsyncMethods(refFilePath) }); }
public static RamlProperties Load(string refFilePath) { return(new RamlProperties { Namespace = RamlReferenceReader.GetRamlNamespace(refFilePath), Source = RamlReferenceReader.GetRamlSource(refFilePath), ClientName = RamlReferenceReader.GetClientRootClassName(refFilePath), UseAsyncMethods = RamlReferenceReader.GetRamlUseAsyncMethods(refFilePath), IncludeApiVersionInRoutePrefix = RamlReferenceReader.GetRamlIncludeApiVersionInRoutePrefix(refFilePath), AddGeneratedSuffix = RamlReferenceReader.GetAddGeneratedSuffix(refFilePath), ModelsFolder = RamlReferenceReader.GetModelsFolder(refFilePath), ImplementationControllersFolder = RamlReferenceReader.GetImplementationControllersFolder(refFilePath) }); }