CoreUtilsDetermineImpliedSyncSourceValue Method |
Determines the implied synchronize source value from the specified syncable children.
Namespace:
SD.LLBLGen.Pro.Core
Assembly:
SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.8.0.0 (5.8.21.0208)
Syntax public static Nullable<SyncSourceType> DetermineImpliedSyncSourceValue(
IEnumerable<ISyncable> syncableChildren,
Func<ISyncable, Nullable<SyncSourceType>> syncValueRetriever,
bool returnNullIfOneFound = false
)
Public Shared Function DetermineImpliedSyncSourceValue (
syncableChildren As IEnumerable(Of ISyncable),
syncValueRetriever As Func(Of ISyncable, Nullable(Of SyncSourceType)),
Optional returnNullIfOneFound As Boolean = false
) As Nullable(Of SyncSourceType)
Parameters
- syncableChildren
- Type: System.Collections.GenericIEnumerableISyncable
The syncable children. - syncValueRetriever
- Type: SystemFuncISyncable, NullableSyncSourceType
The func to obtain the sync source value of the syncable to determine - returnNullIfOneFound (Optional)
- Type: SystemBoolean
If set to true, it'll return null if one null is found among the sync values.
Return Value
Type:
NullableSyncSourceTypeSee Also