Пример #1
0
 internal static void OverrideName(PSObject maml1, PSObject maml2)
 {
     MamlUtil.PrependPropertyValue(maml1, maml2, new string[1]
     {
         "Name"
     }, true);
     MamlUtil.PrependPropertyValue(maml1, maml2, new string[2]
     {
         "Details",
         "Name"
     }, true);
 }
Пример #2
0
 internal static void PrependDetailedDescription(PSObject maml1, PSObject maml2) => MamlUtil.PrependPropertyValue(maml1, maml2, new string[1]
 {
     "Description"
 }, false);
Пример #3
0
 internal static void PrependSyntax(PSObject maml1, PSObject maml2) => MamlUtil.PrependPropertyValue(maml1, maml2, new string[2]
 {
     "Syntax",
     "SyntaxItem"
 }, false);
Пример #4
0
 internal static void PrependNotes(PSObject maml1, PSObject maml2) => MamlUtil.PrependPropertyValue(maml1, maml2, new string[2]
 {
     "AlertSet",
     "Alert"
 }, false);