private IXamlType CreateXamlType(string typeName) { XamlSystemBaseType xamlType = null; XamlUserType userType; switch (typeName) { case "Object": xamlType = new XamlSystemBaseType(typeName, typeof(Object)); break; //case "Caliburn.Micro.Message": // userType = new XamlUserType(this, typeName, typeof(Caliburn.Micro.Message), GetXamlTypeByName("Object")); // userType.AddMemberName("Handler"); // AddToMapOfTypeToStandardName(typeof(System.Object), // "Object"); // xamlType = userType; // break; case "Caliburn.Micro.View": userType = new XamlUserType(this, typeName, typeof(View), GetXamlTypeByName("Object")); userType.AddMemberName("Model"); AddToMapOfTypeToStandardName(typeof(Object), "Object"); xamlType = userType; break; } return(xamlType); }
private IXamlType CreateXamlType(string typeName) { XamlSystemBaseType xamlType = null; XamlUserType userType; switch (typeName) { case "Object": xamlType = new XamlSystemBaseType(typeName, typeof(Object)); break; //case "Caliburn.Micro.Message": // userType = new XamlUserType(this, typeName, typeof(Caliburn.Micro.Message), GetXamlTypeByName("Object")); // userType.AddMemberName("Handler"); // AddToMapOfTypeToStandardName(typeof(System.Object), // "Object"); // xamlType = userType; // break; case "Caliburn.Micro.View": userType = new XamlUserType(this, typeName, typeof(View), GetXamlTypeByName("Object")); userType.AddMemberName("Model"); AddToMapOfTypeToStandardName(typeof(Object), "Object"); xamlType = userType; break; } return xamlType; }