示例#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)));
 }
 public ExecuteWatchDescriptor SimulatedActions(SimulatedActions simulatedActions) =>
 Assign(simulatedActions, (a, v) => a.SimulatedActions = v);
 public ExecuteWatchDescriptor SimulatedActions(SimulatedActions simulatedActions) =>
 Assign(a => a.SimulatedActions = simulatedActions);
示例#4
0
 public ExecuteWatchDescriptor SimulatedActions(SimulatedActions simulatedActions)
 {
     Self.SimulatedActions = simulatedActions;
     return(this);
 }
		public ExecuteWatchDescriptor SimulatedActions(SimulatedActions simulatedActions) =>
			Assign(a => a.SimulatedActions = simulatedActions);