示例#1
0
 /// <summary>
 /// Returns the value of a static property
 /// </summary>
 /// <param name="typeName">The type to retrieve the static property value from</param>
 /// <param name="propertyName">The name of the property to retrieve</param>
 /// <returns>The value of the static property</returns>
 public object GetStaticPropertyValue(string typeName, string propertyName)
 {
     if (!started)
     {
         throw new InvalidOperationException("PluginManager has not been started.");
     }
     return(LocalLoader.GetStaticPropertyValue(typeName, propertyName));
 }