CalDavSynchronizer.ThoughtvCardWorkaround.ContactDataPreprocessor.FixPhoto C# (CSharp) Метод

FixPhoto() публичный статический Метод

public static FixPhoto ( string vcardData ) : string
vcardData string
Результат string
    public static string FixPhoto (string vcardData)
    {
      // Remove X-ABCROP-RECTANGLE since the Deserializer can't parse it
      return Regex.Replace (vcardData, "PHOTO(;.*?)?;X-ABCROP-RECTANGLE(.*?)(;.*?)?:", m => "PHOTO" + (m.Groups[1].Success ? m.Groups[1].Value : string.Empty) + (m.Groups[3].Success ? m.Groups[3].Value : string.Empty)+":" , RegexOptions.IgnoreCase | RegexOptions.Singleline);
    }