forked from ddrilling/AsbCloudServer
Set infrastructure assembly marker.
This commit is contained in:
parent
9023aef984
commit
92371eaaf5
8
AsbCloudInfrastructure/IInfrastructureMarker.cs
Normal file
8
AsbCloudInfrastructure/IInfrastructureMarker.cs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
namespace AsbCloudInfrastructure
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Тип для поиска этой сборки
|
||||||
|
/// </summary>
|
||||||
|
public interface IInfrastructureMarker
|
||||||
|
{}
|
||||||
|
}
|
@ -108,8 +108,8 @@ namespace AsbCloudWebApi.Controllers
|
|||||||
|
|
||||||
private static Stream GetExcelTemplateStream()
|
private static Stream GetExcelTemplateStream()
|
||||||
{
|
{
|
||||||
var stream = System.Reflection.Assembly.GetExecutingAssembly()
|
var assembly = System.Reflection.Assembly.GetAssembly(typeof(AsbCloudInfrastructure.IInfrastructureMarker));
|
||||||
.GetManifestResourceStream("AsbCloudInfrastructure.Services.WellOperationService.DailyReportTemplate.xlsx");
|
var stream = assembly.GetManifestResourceStream("AsbCloudInfrastructure.Services.DailyReport.DailyReportTemplate.xlsx");
|
||||||
return stream;
|
return stream;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user