You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I receive compilation error for brackets inUpdate(). Interestingly, that compiler shows me that definition is not needed on the second line.
If I swap classes in TectureServices definition: TectureService<Updates<Resource,ResourceSupply>>
error goes to To().Update() brackets.
Error: Sample.cs(17, 13): [CS1929] 'Write<Db, Updates<Resource, ResourceSupply>>' does not contain a definition for 'Update' and the best extension method overload 'Extensions.Update<ResourceSupply>(Write<CommandChannel<Command>, Updates<ResourceSupply>>)' requires a receiver of type 'Write<CommandChannel<Command>, Updates<ResourceSupply>>'
The text was updated successfully, but these errors were encountered:
We must depict which entities to work with and allowed actions in TectureService realization. So I want to update two different entities in one file:
TectureService<Updates<ResourceSupply,Resource>>
Code looks like this:
I receive compilation error for brackets inUpdate(). Interestingly, that compiler shows me that definition is not needed on the second line.
If I swap classes in TectureServices definition:
TectureService<Updates<Resource,ResourceSupply>>
error goes to To().Update() brackets.
Error:
Sample.cs(17, 13): [CS1929] 'Write<Db, Updates<Resource, ResourceSupply>>' does not contain a definition for 'Update' and the best extension method overload 'Extensions.Update<ResourceSupply>(Write<CommandChannel<Command>, Updates<ResourceSupply>>)' requires a receiver of type 'Write<CommandChannel<Command>, Updates<ResourceSupply>>'
The text was updated successfully, but these errors were encountered: