summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/module_utils/MyCSMU.cs
blob: 2b7843d7d4182a1a3a23f8cc50073345bc3c438b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;

using ansible_collections.testns.testcoll.plugins.module_utils.AnotherCSMU;
using ansible_collections.testns.testcoll.plugins.module_utils.subpkg.subcs;

//TypeAccelerator -Name MyCSMU -TypeName CustomThing

namespace ansible_collections.testns.testcoll.plugins.module_utils.MyCSMU
{
    public class CustomThing
    {
        public static string HelloWorld()
        {
            string res1 = AnotherThing.CallMe();
            string res2 = NestedUtil.HelloWorld();
            return String.Format("Hello from user_mu collection-hosted MyCSMU, also {0} and {1}", res1, res2);
        }
    }
}