mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-08-02 18:57:31 +08:00
naming and plan
This commit is contained in:
@ -15,5 +15,13 @@ namespace Ocelot.Library.Infrastructure.Responses
|
||||
}
|
||||
|
||||
public List<Error> Errors { get; private set; }
|
||||
|
||||
public bool IsError
|
||||
{
|
||||
get
|
||||
{
|
||||
return Errors.Count > 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -14,5 +14,6 @@ namespace Ocelot.Library.Infrastructure.Responses
|
||||
}
|
||||
|
||||
public T Data { get; private set; }
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user