G
Geoffrey
Hello,
I wan't to have optionnal parameter in my cronstructor, so, I define 2
constructors.
when I call the constructor without the "optional" parameter, I want to call
the constructor with complete parameteers list.
Like this : (but it's no good)
public class SystemEvent
{
public SystemEvent(DateTime p_Heure, String p_Porte, String p_TypeEvt)
{
SystemEvent(p_Heure, p_Porte, p_TypeEvt,false,true);
}
public SystemEvent(DateTime p_Heure,String p_Porte,String p_TypeEvt,bool
p_FromLog,bool p_WithVerifEvent)
{
.....
}
I wan't to have optionnal parameter in my cronstructor, so, I define 2
constructors.
when I call the constructor without the "optional" parameter, I want to call
the constructor with complete parameteers list.
Like this : (but it's no good)
public class SystemEvent
{
public SystemEvent(DateTime p_Heure, String p_Porte, String p_TypeEvt)
{
SystemEvent(p_Heure, p_Porte, p_TypeEvt,false,true);
}
public SystemEvent(DateTime p_Heure,String p_Porte,String p_TypeEvt,bool
p_FromLog,bool p_WithVerifEvent)
{
.....
}