Beispiel #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);
 }
Beispiel #2
0
        public SiteRunType RunType()
        {
            if (runType == SiteRunType.Unknown)
            {
                if (string.IsNullOrEmpty(value.AppPath))
                {
                    runType = SiteRunType.Stand;
                }
                else
                {
                    runType = SiteRunType.VirtualDirectory;
                }
            }

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