dansiegel / Prism.Magician.Docs

https://prismmagician.com/
1 stars 0 forks source link

Wrong nested class reference format ('+' instead of '.') #6

Open SeriousM opened 3 years ago

SeriousM commented 3 years ago

Versions: Prism.Magican 8.1.9 Prism.DryIoc.Extensions 8.0.67

My view is referencing a nested public class which is also referenced in the generated view file. The problem is that the reference to it is in the wrong format.

Full reference of the nested class: Adventics.Shared.Mobile.Cross.Services.Apis.AuthStateManager.AuthStateData

Generated file content:

//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using ReactiveUI;

namespace Adventics.Smart.App.ViewModels
{
#pragma warning disable CS0169
    public partial class DebugPageViewModel
    {
        [GeneratedCodeAttribute("BindablePropertyGenerator", "8.1.9+91b82caa14")]
        private Adventics.Shared.Mobile.Cross.Services.Apis.AuthStateManager+AuthStateData _authStateData;
    }
#pragma warning restore CS0169
}

Note the + between AuthStateManager and AuthStateData!

dansiegel commented 3 years ago

Nested classes aren't something I had previously tested for. I'll take a look at this when I can.