예제 #1
0
 public SiteRunType RunType()
 {
     if (this.runType == SiteRunType.Unknown)
     {
         if (String.IsNullOrEmpty(this.value.AppPath))
         {
             this.runType = SiteRunType.Stand;
         }
         else
         {
             this.runType = SiteRunType.VirtualDirectory;
         }
     }
     return(this.runType);
 }
예제 #2
0
파일: Site.cs 프로젝트: 921819535/cms
        public SiteRunType RunType()
        {
            if (runType == SiteRunType.Unknown)
            {
                if (string.IsNullOrEmpty(value.AppPath))
                {
                    runType = SiteRunType.Stand;
                }
                else
                {
                    runType = SiteRunType.VirtualDirectory;
                }
            }

            return(runType);
        }
예제 #3
0
 public void SetRunType(SiteRunType runType)
 {
     this.runType = runType;
 }