コード例 #1
0
 internal static StreamJoinProps <T1, T2, T3> From <T1, T2, T3>(StreamJoinProps props)
 {
     if (props != null)
     {
         return(new StreamJoinProps <T1, T2, T3>(null, null, null, props.LeftStoreSupplier, props.RightStoreSupplier, props.Name, props.StoreName));
     }
     else
     {
         return(new StreamJoinProps <T1, T2, T3>(null, null, null, null, null, null, null));
     }
 }
コード例 #2
0
 internal static StreamJoinProps <T1, T2, T3> From <T1, T2, T3>(StreamJoinProps props)
 {
     if (props != null)
     {
         bool b = props is StreamJoinProps <T1, T2, T3>;
         return(new StreamJoinProps <T1, T2, T3>(
                    b ? (props as StreamJoinProps <T1, T2, T3>).KeySerdes : null,
                    b ? (props as StreamJoinProps <T1, T2, T3>).LeftValueSerdes : null,
                    b ? (props as StreamJoinProps <T1, T2, T3>).RightValueSerdes : null,
                    props.LeftStoreSupplier,
                    props.RightStoreSupplier,
                    props.Name,
                    props.StoreName));
     }
     else
     {
         return(new StreamJoinProps <T1, T2, T3>(null, null, null, null, null, null, null));
     }
 }