public static bool CSharpProfileNow(string profileTypeScriptName) { if (CustomProfile.IsAliveCustomProfile) { CustomProfile.ResetCustomProfile(); } else { CustomProfile.LoadCustomProfile(true, profileTypeScriptName); } return(CustomProfile.IsAliveCustomProfile); }