public static RequestGetAllVertexTypes MakeRequestGetAllVertexTypes(String myEdition = null) { RequestGetAllVertexTypes Request = new RequestGetAllVertexTypes(myEdition); return Request; }
public TResult GetAllVertexTypes <TResult>(sones.Library.Commons.Security.SecurityToken mySecurityToken, long myTransactionID, sones.GraphDB.Request.RequestGetAllVertexTypes myRequestGetAllVertexTypes, sones.GraphDB.Request.Converter.GetAllVertexTypesResultConverter <TResult> myOutputconverter) { Stopwatch RunningTime = Stopwatch.StartNew(); var svcVertexTypes = _GraphDSService.GetAllVertexTypes(mySecurityToken, myTransactionID, myRequestGetAllVertexTypes.Edition); var vertexTypes = svcVertexTypes.Select(x => new RemoteVertexType(x, this)); RunningTime.Stop(); return(myOutputconverter(new RequestStatistics(new TimeSpan(RunningTime.ElapsedTicks)), vertexTypes)); }