private Uri GetRestEndPointUrl(StdEnum stmName) { StmEndPoint stmEndPoint = new StmEndPoint(stmName); var key = stmName.ToString() + "_FunctionManagerServiceUrl"; if (ComponentManager.KeyValueParameters.IsKeyExists(key)) { stmEndPoint.RestEndPointUrl = new Uri(ComponentManager.KeyValueParameters.GetValue(key)); } else { if (ComponentManager.FunctionManagerServiceUrl != null) { stmEndPoint.RestEndPointUrl = new Uri(ComponentManager.FunctionManagerServiceUrl); } else { stmEndPoint.RestEndPointUrl = FunctionsFactory.DefaultUrl; } } GetRestEndPointUrl(stmEndPoint); return(stmEndPoint.RestEndPointUrl); }
partial void GetRestEndPointUrl(StmEndPoint stmEndPoint);