You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ILuObjectConverter.cs 736B

123456789101112131415161718192021222324252627
  1. using Luticate2.Auth.Utils.Dbo.Fields;
  2. using Luticate2.Auth.Utils.Dbo.Result;
  3. namespace Luticate2.Auth.Utils.Interfaces
  4. {
  5. public interface ILuObjectConverterOptions
  6. {
  7. ILuConvertersTypeConverter TypeConverter { get; }
  8. ILuConvertersAllocator Allocator { get; }
  9. ILuObjectConverterDescriptorOptions DescriptorOptions { get; }
  10. }
  11. public interface ILuObjectConverter
  12. {
  13. LuResult<object> Convert(object srcObj, object dstObj, LuFieldDbo path, LuPartialFieldsDbo fields, ILuObjectConverterOptions options);
  14. }
  15. public interface ILuObjectConverter<TTypeFrom, TTypeTo> : ILuObjectConverter
  16. {
  17. }
  18. public interface ILuObjectConverterIdentity : ILuObjectConverter
  19. {
  20. }
  21. }