oazabir / aspectf Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/aspectf
Automatically exported from code.google.com/p/aspectf
Break out Test class from Aspect core class so its reusable.
Original issue reported on code.google.com by [email protected]
on 5 Nov 2009 at 11:41
Line 143 in AspectF.cs reads:
Retry(1000, 1, (error) => DoNothing(error), x => DoNothing(), work, logger));
It must be like this:
Retry(1000, 1, (error) => DoNothing(error), failHandler, work, logger));
Original issue reported on code.google.com by [email protected]
on 30 Mar 2010 at 2:06
[Fact]
public void TestTrapLogThrow()
fails with at the Moq Logger
Original issue reported on code.google.com by [email protected]
on 5 Nov 2009 at 11:42
What steps will reproduce the problem?
1. AspectF.define.HowLong(Logger, "Start", "Stop {3}{2}{1}{0}).Do
(()=>Thread.Sleep(2000);))};
What is the expected output? What do you see instead?
Expected Stop 00:00:05.6088365
Instead: Stop -00:59:57.2658875
What version of the product are you using? On what operating system?
1.3
Please provide any additional information below.
Correct
DateTime start = DateTime.Now();
to
DateTime start = DateTime.Now.ToUniversalTime();
?
Original issue reported on code.google.com by [email protected]
on 11 Jan 2010 at 12:05
I've been using the library and notice the duration wasn't captured correctly.
I make the change the method HowLong() of DataTime start to use UniversalTime
so I could capture the correct duration.
Original issue reported on code.google.com by [email protected]
on 28 Jun 2012 at 1:23
What steps will reproduce the problem?
1. If using Let.Us and calling multiple aspects such as TrapLog or calling the
same method again.
2. See the stack trace of method calls. There are numerous anonymous method
called
3. The reason maybe that there is a combine defined. But there is no way to
clear the combined Actions when new call is made.
What is the expected output? What do you see instead?
The stack trace should have as many anonymous methods as the number of chain
calls.
What version of the product are you using? On what operating system?
Latest checkin as on 3/2/2011
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 3 Feb 2011 at 7:55
Attachments:
The Until extension method in 1.3 hasn't been updated like the While extension
method has. The While extension method does what it says it does which is
execute the Do while the condition is true, but the Until method loops while
the condition is not true (not executing the code) and then then executes the
Do code once.
The Until extension method needs to be brought into line like the While
extension method was.
[DebuggerStepThrough]
public static AspectF Until(this AspectF aspect, Func<bool> test)
{
return aspect.Combine((work) =>
{
do
{
work();
}
while (!test());
});
}
Original issue reported on code.google.com by [email protected]
on 23 Jun 2010 at 9:50
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.