Leslie Davies

Ann Arbor, MI

Age: 23

Mar
26
answered How to determine if previous Windows boot was a Safe Mode boot?
Mar
20
answered best way to find dll by name on c drive?
Mar
10
awarded Popular Question
Mar
8
awarded Yearling
Mar
8
awarded Yearling
Feb
3
comment Can a base class know properties of the object implementing it
I think you should just have FromXML be an abstract method - and then each derived class of FN_ObjectBase can implement their own version.
Jan
29
revised Authoritative Windows Fle Creation Date
added 92 characters in body
Jan
29
answered Authoritative Windows Fle Creation Date
Jan
22
comment Make sure/check if property is selected in linq .Select() statement with unit test?
Oh ok, makes more sense :). Yep, just verify that (persons.ElementType.GetProperty("LastName") != null) or ( persons.Where(n => n.LastName == null).Count() == 0)
Jan
22
comment Make sure/check if property is selected in linq .Select() statement with unit test?
Actually - just looked @ your code a little bit, this will not compile, consider: var persons = someListOfPersons.Where(r => r.Age > 18) .Select(m => new Person(){LastName = m.LastName});
Jan
22
comment Make sure/check if property is selected in linq .Select() statement with unit test?
Do you want to verify that the IQueryable is of Person class type? Consider using the IQueryable.ElementType Property
Jan
22
comment Make sure/check if property is selected in linq .Select() statement with unit test?
You could have a UT where you create a dummy list of Person objects, where some of them are over 18. Then run the LINQ query and verify that in the dummy list, each Person object's last name matches that of a member in the IQueryable?
Jan
21
answered EventLogQuery time format expected?
Jan
2
comment Unable to execute Powershell from C# Application
Run with admin privileges and go to Settings and select "Log all binds to disk" or "Log bind failures to disk"
Jan
2
comment Unable to execute Powershell from C# Application
Try using Fuslogvw.exe tool to view binding issue error messages, could be due to incompatible key:msdn.microsoft.com/en-us/library/e74a18c4%28v=vs.110%29.aspx
Jan
2
answered Regex that returns a list
Jan
2
comment Regex that returns a list
Similar: stackoverflow.com/questions/4734116/…
Aug
1
answered Run .exe automatically every 5 minutes
Jul
22
answered .NET Framework Version relationship with C# language version
Dec
20
revised Enable proxy by editing registry in real time in c#
deleted 2 characters in body
1 2 3 4 5