コード例 #1
0
 public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
 {
     if (reader.TokenType == JsonToken.String)
     {
         return(SimulatedActions.All);
     }
     return(SimulatedActions.Some(serializer.Deserialize <List <string> >(reader)));
 }
コード例 #2
0
 public ExecuteWatchDescriptor SimulatedActions(SimulatedActions simulatedActions) =>
 Assign(simulatedActions, (a, v) => a.SimulatedActions = v);
コード例 #3
0
 public ExecuteWatchDescriptor SimulatedActions(SimulatedActions simulatedActions) =>
 Assign(a => a.SimulatedActions = simulatedActions);
コード例 #4
0
 public ExecuteWatchDescriptor SimulatedActions(SimulatedActions simulatedActions)
 {
     Self.SimulatedActions = simulatedActions;
     return(this);
 }
コード例 #5
0
		public ExecuteWatchDescriptor SimulatedActions(SimulatedActions simulatedActions) =>
			Assign(a => a.SimulatedActions = simulatedActions);