Beispiel #1
0
        /// <inheritdoc/>
        public override JToken WriteItem(NodeSet item)
        {
            var service = ConverterContainer.Resolve <IToJsonConverter <NodeSet> >();

            return(service.GetTo(item));
        }
Beispiel #2
0
        /// <inheritdoc/>
        public override NodeSet ReadItem(JToken input)
        {
            var service = ConverterContainer.Resolve <IFromJsonConverter <NodeSet> >();

            return(service.GetTo(input));
        }
Beispiel #3
0
        /// <inheritdoc/>
        public override JToken WriteItem(NeuralNetwork item)
        {
            var service = ConverterContainer.Resolve <IToJsonConverter <NeuralNetwork> >();

            return(service.GetTo(item));
        }
Beispiel #4
0
        /// <inheritdoc/>
        public override NeuralNetwork ReadItem(JToken input)
        {
            var service = ConverterContainer.Resolve <IFromJsonConverter <NeuralNetwork> >();

            return(service.GetTo(input));
        }
Beispiel #5
0
 /// <inheritdoc/>
 public override JToken WriteItem(IGameCommit <T> item)
 {
     return(ConverterContainer.Resolve <IToJsonConverter <IGameCommit <T> > >().GetTo(item));
 }
Beispiel #6
0
 /// <inheritdoc/>
 public override IGameCommit <T> ReadItem(JToken input)
 {
     return(ConverterContainer.Resolve <IFromJsonConverter <IGameCommit <T> > >().GetTo(input));
 }