fixed issue #989
This commit is contained in:
parent
4e3ae6867b
commit
778f52b4a1
@ -56,7 +56,14 @@ namespace ANX.Framework.NonXNA
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return Instance.Name;
|
if (instance != null)
|
||||||
|
{
|
||||||
|
return instance.Name;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return "*** no instance of AddIn *** (" + creatorType.FullName + ")";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -64,9 +71,9 @@ namespace ANX.Framework.NonXNA
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (Instance != null)
|
if (instance != null)
|
||||||
{
|
{
|
||||||
return Instance.Priority;
|
return instance.Priority;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -93,6 +100,7 @@ namespace ANX.Framework.NonXNA
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
CreateInstanceIfPossible();
|
CreateInstanceIfPossible();
|
||||||
|
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user