Example #1
0
 /// <summary>
 /// Sets the property to the runtime type.
 /// </summary>
 /// <param name="runtimeType">Id</param>
 /// <param name="value">Value</param>
 public static void SetPropertyInfo(IRuntimeType runtimeType, PropertyInfo value) => _objects[Format.GetActivatorType(runtimeType)] = value;
Example #2
0
 /// <summary>
 /// Gets the property from the runtime type.
 /// </summary>
 /// <param name="runtimeType">Id</param>
 /// <value>Value</value>
 public static PropertyInfo GetPropertyInfo(IRuntimeType runtimeType) => _objects[Format.GetActivatorType(runtimeType)];