Have deprecated more of the dynamic class in the macroEngines project to proxy to the

classes in the Umbraco.Core project.
This commit is contained in:
Shannon Deminick
2012-08-22 07:47:21 +06:00
parent 3222d39808
commit 22c0350a4a
11 changed files with 53 additions and 2505 deletions

View File

@@ -17,7 +17,7 @@ namespace Umbraco.Core.Dynamics
int classCount;
ReaderWriterLock rwLock;
private ClassFactory()
protected ClassFactory()
{
AssemblyName name = new AssemblyName("DynamicClasses");
AssemblyBuilder assembly = AppDomain.CurrentDomain.DefineDynamicAssembly(name, AssemblyBuilderAccess.Run);

View File

@@ -1006,7 +1006,7 @@ namespace Umbraco.Core.Dynamics
}
}
static object ReflectPropertyValue(object o, string name)
public static object ReflectPropertyValue(object o, string name)
{
PropertyInfo propertyInfo = o.GetType().GetProperty(name);
if (propertyInfo != null)