Disco.Services.DeviceDataStoreExtensions.ImageFilePath C# (CSharp) Метод

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

public static ImageFilePath ( this deviceModel ) : string
deviceModel this
Результат string
        public static string ImageFilePath(this DeviceModel deviceModel)
        {
            var configCache = new Disco.Data.Configuration.SystemConfiguration(null);

            var deviceModelImagesDataStore = DataStore.CreateLocation(configCache, "DeviceModelImages");

            return Path.Combine(deviceModelImagesDataStore, string.Format("{0}.png", deviceModel.Id));
        }