public static string[] GetDirectories(string physicalPath, SitecoreSerializationProvider provider)
        {
            if (!Directory.Exists(physicalPath))
                return new string[0];

            return Directory.GetDirectories(physicalPath);
        }
        public static string[] GetDirectories(string physicalPath, SitecoreSerializationProvider provider)
        {
            if (!Directory.Exists(physicalPath))
            {
                return(new string[0]);
            }

            return(Directory.GetDirectories(physicalPath));
        }
 public SitecoreSerializedReference(string physicalPath, SitecoreSerializationProvider sourceProvider)
 {
     _sourceProvider = sourceProvider;
     ProviderId = physicalPath;
 }
 public SitecoreSerializedItem(SyncItem item, string physicalPath, SitecoreSerializationProvider sourceProvider)
 {
     _sourceProvider = sourceProvider;
     InnerItem       = item;
     ProviderId      = physicalPath;
 }
 public SitecoreSerializedItem(SyncItem item, string physicalPath, SitecoreSerializationProvider sourceProvider)
 {
     _sourceProvider = sourceProvider;
     InnerItem = item;
     ProviderId = physicalPath;
 }
示例#6
0
 public SitecoreSerializedReference(string physicalPath, SitecoreSerializationProvider sourceProvider)
 {
     _sourceProvider = sourceProvider;
     ProviderId      = physicalPath;
 }