public void SetGoals(ref TimeStamped <T> state) { double timeStamp = state.timeStamp; T local = state.value; this.SetGoals(ref local, ref timeStamp); }
public void SetGoals(ref TimeStamped <T> state) { double num = state.timeStamp; T t = state.@value; this.SetGoals(ref t, ref num); }
public void TestTimestampedClass() { ActiveRecordStarter.Initialize(GetConfigSource(), typeof(TimeStamped)); Recreate(); TimeStamped ts = new TimeStamped(); ts.name = "a timestamped record"; Assert.IsTrue(ts.LastSaved == DateTime.MinValue); ts.Save(); Assert.IsFalse(ts.LastSaved == DateTime.MinValue); //DateTime origional_lastsaved = ts.LastSaved; ts.name = "another name"; ts.Save(); // Assert.IsFalse(ts.LastSaved == origional_lastsaved); }
// privatescope internal void IStateInterpolator[[CharacterTransformInterpolatorData, Assembly - CSharp, Version = 0.0 .0 .0, Culture = neutral, PublicKeyToken = null]].SetGoals(ref TimeStamped <CharacterTransformInterpolatorData> sample) { base.SetGoals(ref sample); }
// privatescope internal void IStateInterpolator[[PosRot, Assembly - CSharp, Version = 0.0 .0 .0, Culture = neutral, PublicKeyToken = null]].SetGoals(ref TimeStamped <PosRot> sample) { base.SetGoals(ref sample); }
void IStateInterpolator <CharacterStateInterpolatorData> .SetGoals(ref TimeStamped <CharacterStateInterpolatorData> sample) { base.SetGoals(ref sample); }
void IStateInterpolator <PosRot> .SetGoals(ref TimeStamped <PosRot> sample) { base.SetGoals(ref sample); }