Beispiel #1
0
 public static bool TryGetObject(out DefaultCtorData data)
 {
     data = new DefaultCtorData {
         Name = "Out object"
     };
     return(true);
 }
Beispiel #2
0
 public static DefaultCtorData Clone(DefaultCtorData data) => data?.Clone();
Beispiel #3
0
 public static void SameMethodName(DefaultCtorData data)
 {
     Console.WriteLine("SameMethodName(DefaultCtorData) arg: {0}", data);
 }
Beispiel #4
0
 public static void UpdateObject(ref DefaultCtorData data)
 {
     data = new DefaultCtorData {
         Name = "Ref object", Integers = data?.Integers
     };
 }
Beispiel #5
0
 public static double[,] Clone(DefaultCtorData data, double[,] matrix, out DefaultCtorData clone)
 {
     clone = data?.Clone();
     return(matrix);
 }