src/Misc/EFTools/XmlCore/Model/Integrity/CheckArtifactBindings.cs
/// <summary>
///     Schedule the given set of bindings for rebinding when the transaction completes
/// </summary>
/// <param name="cpc"></param>
/// <param name="bindingsToRebind"></param>
Schedule the given set of bindings for rebinding when the transaction completes
Schedule the given set of bindings for rebinding when the transaction completes
internal static void ScheduleBindingsForRebind(CommandProcessorContext cpc, ICollection<ItemBinding> bindingsToRebind)
        {
            Debug.Assert(cpc != null);
            Debug.Assert(bindingsToRebind != null);
            if (bindingsToRebind.Count > 0)
            {
                var check = new CheckArtifactBindings(cpc);
                cpc.AddIntegrityCheck(check);
                foreach (var ib in bindingsToRebind)
                {
                    cpc.AddBindingForRebind(ib);
                }
            }
        }
internal static void ScheduleBindingsForRebind ( CommandProcessorContext cpc , ICollection < ItemBinding > bindingsToRebind ) { Debug . Assert ( cpc != null ) ; Debug . Assert ( bindingsToRebind != null ) ; if ( bindingsToRebind . Count > 0 ) { var check = new CheckArtifactBindings ( cpc ) ; cpc . AddIntegrityCheck ( check ) ; foreach ( var ib in bindingsToRebind ) { cpc . AddBindingForRebind ( ib ) ; } } }
Schedule the given set of bindings for rebinding when the transaction completes
Schedule the given set of bindings for rebinding when the transaction completes
cpc
CommandProcessorContext
None
bindingsToRebind
ICollection<ItemBinding>
None