.NET Based OPC UA Client/Server SDK  3.3.0.530
UnifiedAutomation.UaBase.DummyArgument Class Reference

This class cannot have any instances. All references of the type DummyArgument are actually null references. More...

Detailed Description

This class cannot have any instances. All references of the type DummyArgument are actually null references.

The class is used in the generated models to allow injecting hand-written methods, but to use the fallback if present.

// generated.cs
public partial class A
{
public string Name { get; }
public A(A template = null, DummyArgument dummy = null)
{
Name = "Generated";
}
}
public partial class B
{
public B(B template = null, DummyArgument dummy = null) : base(template)
{
}
}
// A.cs
public partial class A
{
public A(A template)
{
Name = "Hand-written";
}
}

Creating a new instance of B will call the constructor of A defined in file A.cs. So B.Name will be "Hand-written".


The documentation for this class was generated from the following file: