Ejemplo n.º 1
0
        private static RecentInvocationEntry Convert(IRecentFunctionEntry entity)
        {
            var snapshot = entity.ConvertToSnapshot();
            var metadata = RecentInvocationEntry.CreateMetadata(snapshot);

            return(RecentInvocationEntry.Create(metadata));
        }
Ejemplo n.º 2
0
 public static FunctionInstanceSnapshot ConvertToSnapshot(this IRecentFunctionEntry entity)
 {
     return(new FunctionInstanceSnapshot
     {
         Id = entity.FunctionInstanceId,
         FunctionFullName = entity.DisplayName,
         FunctionShortName = entity.DisplayName,
         DisplayTitle = entity.DisplayName, // skips Argument check
         StartTime = entity.StartTime,
         Succeeded = entity.IsSucceeded(),
         EndTime = entity.EndTime
     });
 }
 private static RecentInvocationEntry Convert(IRecentFunctionEntry entity)
 {
     var snapshot = entity.ConvertToSnapshot();
     var metadata = RecentInvocationEntry.CreateMetadata(snapshot);
     return RecentInvocationEntry.Create(metadata);
 }