예제 #1
0
 public bool IsGoogleDoc()
 {
     if (!ContentUrl.IsNullOrEmptyOrWhiteSpace())
     {
         if (ContentUrl.Contains("https://docs.google.com/document"))
         {
             return(true);
         }
     }
     return(false);
 }
예제 #2
0
 public bool Published()
 {
     if (IsPublished)
     {
         return(true);
     }
     if (IsGoogleDoc() && ContentUrl.Contains("edit"))
     {
         return(false);
     }
     return(false);
 }