Пример #1
0
    public static void RunResource()
    {
        IOperations operations = (IOperations)(Reference.Instance().GetUnknownTypeObject("DB", "cgross", "XML"));

        if (operations == null)
        {
            DebugMgr.output(1, "!!! Operations is a null object !!!");
        }
        IUser user = operations.LoadUser("some.identifier");

        DebugMgr.outputVar(8, "name", user.name);
        DebugMgr.outputVar(8, "street", user.street);
        DebugMgr.outputVar(8, "city", user.city);
        DebugMgr.outputVar(8, "country", user.country);
    }