public CreateContent ( string typeName ) : |
||
typeName | string | |
Résultat |
public PageContent CreateContent(string typeName)
{
IPageContentFactory fact = GetContentFactory(typeName);
if (fact == null)
throw new Exception(typeName + " is not the name of a valid PageContentFactory!" +
"PageManager.CreateContent");
return fact.CreateInstance();
}
/// <summary>