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

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

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

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

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