static AuthenticationSessionCachedChange GetChange(Change toUpcast) { return toUpcast.As<AuthenticationSessionCachedChange>(); }
public Change Upcast(Change toUpcast) { toUpcast.As<SubscribeChange>().Schema.RepeatStrategy = ConstantTimeRepeatStrategy.EveryTenSeconds(); return toUpcast; }
public Change Upcast(Change toUpcast) { toUpcast.As<MessageCheckpointChange>().CachedOn = new DateTime(2013, 11, 24); return toUpcast; }