Search found 24 matches
- Thu Mar 02, 2023 7:04 am
- Forum: Product
- Topic: Async question
- Replies: 43
- Views: 4057
Async question
<r>If it is not a GUI thread. Then the .Result call should work. The Result call blocks the execution until the result is available. You have to be carefull, because depending on your thread it can result to an deadlock.<br/> Another possibility would be "Task.Run( () => asyncMethod()).Wait();"<br/>...
- Wed Mar 01, 2023 3:57 pm
- Forum: Product
- Topic: Async question
- Replies: 43
- Views: 4057
Async question
Your call self:_Connect needs an await. If you need an synchronous call you can use
self:_Connect( cHostName, cUserName, cPassword ).Result
With the Result Call you have to be carefull, because in some situation it can result in an dead lock
self:_Connect( cHostName, cUserName, cPassword ).Result
With the Result Call you have to be carefull, because in some situation it can result in an dead lock
- Wed Mar 01, 2023 10:55 am
- Forum: Suggestions
- Topic: X# in New Visual Studio All-In-One Search
- Replies: 8
- Views: 2721
X# in New Visual Studio All-In-One Search
I think also like Robert that we should use the standard dialog of VS where possible. The power tools we have made can never replace the many search possibilities of VS. In the meantime they are only a good workaround for some problems.
- Thu Nov 24, 2022 12:20 pm
- Forum: XSharp Tools Library
- Topic: ILSpy (7.2.1): System.NotSupportedException: Invalid value for FieldDirection
- Replies: 2
- Views: 2376
- Thu Nov 24, 2022 9:11 am
- Forum: XSharp Tools Library
- Topic: ILSpy (7.2.1): System.NotSupportedException: Invalid value for FieldDirection
- Replies: 2
- Views: 2376
ILSpy (7.2.1): System.NotSupportedException: Invalid value for FieldDirection
<r>The following code results to an exception in ILSpy using the X# Addin. The problem is the "in" in the parameter declaration ot TestMethod3<br/> <CODE><s>[code]</s><i> </i>public partial class TestPartial public method TestMethod3(col in usual) as logic return true public method TestMethod2() as ...
- Wed Feb 16, 2022 12:48 pm
- Forum: Product
- Topic: Slow typing in Visual Studio
- Replies: 7
- Views: 1901
Slow typing in Visual Studio
I can send you a file. for me it seems to happen on every position in the file (650 lines) if I insert an #ifdef.
- Wed Feb 16, 2022 8:10 am
- Forum: Product
- Topic: Slow typing in Visual Studio
- Replies: 7
- Views: 1901
Slow typing in Visual Studio
The Issue with #ifdef #endif we have also
- Wed Oct 27, 2021 5:38 am
- Forum: Product
- Topic: Visual Studio 2019 and 2.9 issue
- Replies: 5
- Views: 1664
Visual Studio 2019 and 2.9 issue
For this problem there is a fix in the issue https://github.com/X-Sharp/XSharpPublic/issues/819 available.
- Thu Aug 26, 2021 1:15 pm
- Forum: Chit-Chat
- Topic: X# Example Project for various DotNet functionality
- Replies: 33
- Views: 5434
X# Example Project for various DotNet functionality
It is also a lot easier to get an element with the key and not to search for the index and than get the element.
- Tue Aug 03, 2021 5:32 am
- Forum: Product
- Topic: New feature
- Replies: 11
- Views: 1926
New feature
I would prefer it before the xml comments.
An option to enable/disable his feature would be nice.
Hansjörg
An option to enable/disable his feature would be nice.
Hansjörg