コード例 #1
0
 public ImageSettingsAttribute(string subPath, int width, int height)
 {
     Settings = new ImageSettings(subPath, width, height);
 }
コード例 #2
0
 public ImageSettingsAttribute(string subPath)
 {
     Settings = new ImageSettings(subPath, null, null);
 }
コード例 #3
0
 public ImageSettingsAttribute(string subPath)
 {
     Settings = new ImageSettings(subPath, null, null);
 }
コード例 #4
0
 public ImageSettingsAttribute(string subPath, int width, int height)
 {
     Settings = new ImageSettings(subPath, width, height);
 }
コード例 #5
0
ファイル: FileHandler.cs プロジェクト: tassyo1/Ilaro.Admin
        private void DeleteOldFile(
            Property property,
            ImageSettings setting,
            IDictionary<string, object> recordDict)
        {
            if (recordDict.ContainsKey(property.Column.Undecorate()))
            {
                var fileName = recordDict[property.Column.Undecorate()].ToStringSafe();
                var path = Path.Combine(BasePath, property.FileOptions.Path, setting.SubPath, fileName);

                _deleter.Delete(path);
            }
        }