1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-29 14:35:45 +00:00

Corrections tags

This commit is contained in:
Yan Maniez 2018-09-16 00:43:57 +02:00
parent 19b7d2ac63
commit b24e55cfda
5 changed files with 19 additions and 11 deletions

View file

@ -104,10 +104,10 @@ namespace AideDeJeu.ViewModels
enumerator.MoveNext();
}
}
currentItem.Id = GetNewAnchorId(source, currentItem.Name);
_AllItems[currentItem.Id] = currentItem;
}
currentItem.Id = GetNewAnchorId(source, currentItem.Name);
_AllItems[currentItem.Id] = currentItem;
return currentItem;
}
@ -183,7 +183,12 @@ namespace AideDeJeu.ViewModels
{
if (tag.StartsWith("<!--") && !tag.StartsWith("<!--/"))
{
return true;
var name = $"AideDeJeuLib.{tag.Substring(4, tag.Length - 7)}, AideDeJeu";
var type = Type.GetType(name);
if (type != null)
{
return true;
}
}
}
}
@ -219,8 +224,11 @@ namespace AideDeJeu.ViewModels
{
var name = $"AideDeJeuLib.{tag.Substring(4, tag.Length - 7)}, AideDeJeu";
var type = Type.GetType(name);
var instance = Activator.CreateInstance(type) as Item;
return instance;
if (type != null)
{
var instance = Activator.CreateInstance(type) as Item;
return instance;
}
}
}
}

View file

@ -6,6 +6,6 @@
BackgroundColor="{StaticResource HDWhite}"
BarBackgroundColor="{StaticResource HDWhite}"
BarTextColor="{StaticResource HDRed}">
</NavigationPage>

View file

@ -77,7 +77,7 @@ Votre étude exhaustive des différentes traditions et théories magiques vous p
<!--Generic-->
Nombre de sorts de clercs connus
### <!--Name-->Nombre de sorts de clercs connus<!--/Name-->
|Niveau|1|2|3|4|5|6|7|8|9|
|---|---|---|---|---|---|---|---|---|---|

View file

@ -1,7 +1,7 @@
<!--Generic-->
# Félys
# <!--Name-->Félys<!--/Name-->
- Source: <!--Source-->(MDR p64)<!--/Source-->

View file

@ -1,8 +1,8 @@
# Manuel des règles
<!--
## [Création du personnage]
-->
<!-- ## [Création du personnage] -->
## [Races](races_hd.md)
## [Personnalité et Historique](personnality_background_hd.md)