Критическое изменение в кодгене
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
using Example.Shared;
|
||||
|
||||
namespace Example.Backend
|
||||
{
|
||||
public class CsTest
|
||||
{
|
||||
public T FinalCasted<T>(IDataList<T> list, int index)
|
||||
{
|
||||
return list.Get(index);
|
||||
}
|
||||
|
||||
public object NonCasted(object list, int index)
|
||||
{
|
||||
return FinalCasted(list as IDataList<object>, index);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -27,7 +27,7 @@ namespace Example.Backend
|
||||
// throw new Exception("The method or operation is not implemented.");
|
||||
var page = new Page { Text = text };
|
||||
Console.WriteLine($"Request id : :{context.RequestId}");
|
||||
OnPrint?.Invoke(page, context);
|
||||
OnPrint?.Invoke(page, new RequestContext(Guid.NewGuid(), 132));
|
||||
Resource /= 1.5;
|
||||
return page;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user