/// <summary> /// Gets an object. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="parameterAccessor"></param> /// <returns></returns> public T Get <T>(ObjectParameterAccessor <T> parameterAccessor) { return((T)ObjectValues[parameterAccessor.BindingSlot]); }
/// <summary> /// Sets an object. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="parameterAccessor"></param> /// <param name="value"></param> public void Set <T>(ObjectParameterAccessor <T> parameterAccessor, T value) { ObjectValues[parameterAccessor.BindingSlot] = value; }