원래 using
지시문으로 작성된 파일을 완전히 정규화 된 이름으로 변환하려면 어떻게합니까?문을 정규화 된 이름으로 사용하여 코드 변환
예. 이
namespace ChatterBotAPI
{
public interface ChatterBotSession
{
ChatterBotThought Think(ChatterBotThought thought);
string Think(string text);
}
internal class PandorabotsSession : ChatterBotSession
{
private readonly System.Collections.Generic.IDictionary<string, string> vars;
public PandorabotsSession(string botid)
{
vars = new System.Collections.Generic.Dictionary<string, string>();
vars["botid"] = botid;
vars["custid"] = System.Guid.NewGuid().ToString();
}
public ChatterBotThought Think(ChatterBotThought thought)
{
...
}
실제 문제는 무엇입니까? 당신이 뭘하려고합니까? –
@ 운이 좋은 [다른 누군가의 도서관] (https://github.com/pierredavidbelanger/chatter-bot-api)을 빌려서 내 프로젝트에서 사용하고 싶습니다. 내 프로젝트는 C# 스크립트를 즉시 실행하는 프로그램을 사용하고'using '지시문을 제대로 처리하지 않으므로 정규화 된 이름을 통해 모든 것을 지정해야합니다. – theonlygusti
@theonlygusti 모든'using' 줄을 제거한 다음 각 컴파일 오류를 거치고 올바른 네임 스페이스로 경로를 지정하십시오. – Rob