More flexibility with cloning state
See original GitHub issueblazor.state 1.0.0-preview6.19307.2-20190710-124031 .NET Core 3.0.100-preview6-012264
I found some time to experiment with the current Blazor preview and blazor.state. I seem to have ironed out most of the glitches but I have one problem, still:
I need to use IOrderedEnumerable<KeyValuePair<string, int>>
but AnyClone does not support this format.
Until now, I just implemented public override object Clone() => new TilesState(this);
but this does not work any longer.
One solution would be to have the Clone method optional. Use only if overridden. If you have a better Idea, I am all ears.
Error:
AnyClone.TypeException: Unsupported IEnumerable type: OrderedEnumerable`2
at AnyClone.CloneProvider`1.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Homologous alignment cloning: a rapid, flexible and highly ...
The incredible cloning success rates together with the multiple practical benefits of low cost, vector flexibility, insert orientation and speed ...
Read more >Cloning humans? Biological, ethical, and social ...
Human cloning would still face ethical objections from a majority of concerned people, as well as opposition from diverse religions.
Read more >MoCloFlex: A Modular Yet Flexible Cloning System
Our destination vector allows iterative rounds of cloning. Iterative cloning in our system needs an extra cloning step from the MCF-Destination ...
Read more >What Is Oracle Cloning and How Does It Work?
Oracle cloning refers to the process of creating a copy of an existing Oracle database, including its structure, schema, tables, and data.
Read more >Gateway Cloning Comes of Age—Exclusive Interview
Gateway cloning has a number of advantages over other recombinational cloning technologies, particularly with regard to the efficiency of the reactions and the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m currently investigating this and will have a fix out today
@michaelvolz I have been able to duplicate the issue. I have pinged @replaysMike of AnyClone for advice.
But for this particular case, I suggest you change
SomeOrderData
If you have a public repo with an example I would be happy to look for further options.
If you were to write a clone of this manually how would you clone it?
I have fixed the issue with not calling the IClonable version and added a test case for that.
Please let me know your thoughts.