Click here to Skip to main content
15,901,853 members
Home / Discussions / C#
   

C#

 
GeneralRe: Centralized database for c# Windows Application (WinForms) Pin
theo tuombe25-Apr-24 4:40
theo tuombe25-Apr-24 4:40 
GeneralRe: Centralized database for c# Windows Application (WinForms) Pin
theo tuombe25-Apr-24 4:40
theo tuombe25-Apr-24 4:40 
GeneralRe: Centralized database for c# Windows Application (WinForms) Pin
Dave Kreskowiak25-Apr-24 5:36
mveDave Kreskowiak25-Apr-24 5:36 
GeneralRe: Centralized database for c# Windows Application (WinForms) Pin
jschell26-Apr-24 12:59
jschell26-Apr-24 12:59 
AnswerRe: Centralized database for c# Windows Application (WinForms) Pin
PIEBALDconsult25-Apr-24 4:55
mvePIEBALDconsult25-Apr-24 4:55 
AnswerRe: Centralized database for c# Windows Application (WinForms) Pin
Ravi Bhavnani27-Apr-24 10:01
professionalRavi Bhavnani27-Apr-24 10:01 
GeneralRe: Centralized database for c# Windows Application (WinForms) Pin
theo tuombe27-Apr-24 11:16
theo tuombe27-Apr-24 11:16 
QuestionSelf referencing loop detected for property with type ... Pin
AtaChris22-Apr-24 9:02
AtaChris22-Apr-24 9:02 
The message above comes from the following code:

C#
public abstract class Indicator : ExtendedIndicator
{
    [global::Newtonsoft.Json.JsonIgnoreAttribute]
    protected ITradingManager? TradingManager { get; }
}



C#
class MyTradingManager
{
      public ITradingManager _tradeManager;


      public MyTradeManager(ITradingManager argTradingManager)
      {
       _tradeManager = argTradingManager;
      }

}




C#
internal class SampleIndicator : Indicator
{
      MyTradeManager _tradingManager;

      public SampleIndicator ()
      {
           _tradingManager = new(TradingManager ); <- Here the problem occurs !!!
      }
}



Any Ideas why I get the error message in the title of this question ?
AnswerRe: Self referencing loop detected for property with type ... Pin
Richard Andrew x6422-Apr-24 12:37
professionalRichard Andrew x6422-Apr-24 12:37 
AnswerRe: Self referencing loop detected for property with type ... Pin
AtaChris22-Apr-24 21:30
AtaChris22-Apr-24 21:30 
AnswerRe: Self referencing loop detected for property with type ... Pin
Dave Kreskowiak22-Apr-24 13:43
mveDave Kreskowiak22-Apr-24 13:43 
GeneralRe: Self referencing loop detected for property with type ... Pin
AtaChris22-Apr-24 21:28
AtaChris22-Apr-24 21:28 
GeneralRe: Self referencing loop detected for property with type ... Pin
Dave Kreskowiak23-Apr-24 4:48
mveDave Kreskowiak23-Apr-24 4:48 
QuestionHow to print the property values of an object to a file/console ? Pin
AtaChris22-Apr-24 8:51
AtaChris22-Apr-24 8:51 
AnswerRe: How to print the property values of an object to a file/console ? Pin
Dave Kreskowiak22-Apr-24 13:49
mveDave Kreskowiak22-Apr-24 13:49 
GeneralRe: How to print the property values of an object to a file/console ? Pin
AtaChris22-Apr-24 21:23
AtaChris22-Apr-24 21:23 
GeneralRe: How to print the property values of an object to a file/console ? Pin
Pete O'Hanlon22-Apr-24 22:44
mvePete O'Hanlon22-Apr-24 22:44 
GeneralRe: How to print the property values of an object to a file/console ? Pin
Dave Kreskowiak23-Apr-24 4:10
mveDave Kreskowiak23-Apr-24 4:10 
QuestionHow to identify Key Combinations ? Pin
AtaChris15-Apr-24 6:26
AtaChris15-Apr-24 6:26 
AnswerRe: How to identify Key Combinations ? Pin
Dave Kreskowiak15-Apr-24 6:35
mveDave Kreskowiak15-Apr-24 6:35 
QuestionHow to send property values via eventhandler ? Pin
AtaChris7-Apr-24 7:41
AtaChris7-Apr-24 7:41 
AnswerRe: How to send property values via eventhandler ? Pin
OriginalGriff7-Apr-24 20:23
mveOriginalGriff7-Apr-24 20:23 
GeneralRe: How to send property values via eventhandler ? Pin
AtaChris15-Apr-24 6:46
AtaChris15-Apr-24 6:46 
GeneralRe: How to send property values via eventhandler ? Pin
OriginalGriff15-Apr-24 19:09
mveOriginalGriff15-Apr-24 19:09 
QuestionRead information from serial port in Mathlab format Pin
Victor Gonzalez 20245-Apr-24 9:43
Victor Gonzalez 20245-Apr-24 9:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.