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

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

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

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

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