Cilador.Fody.Core.ModuleWeaver.FindAndInvokeWeavers C# (CSharp) Метод

FindAndInvokeWeavers() приватный Метод

Looks up commands indicated by weave attributes thorugh configuration, and then executes each command.
private FindAndInvokeWeavers ( Mono.Cecil.TypeDefinition targetType, List weaveAttributes ) : void
targetType Mono.Cecil.TypeDefinition Type which will be modified by weaves
weaveAttributes List Collection of weave attributes which indicate weaves that will be applied the
Результат void
        private void FindAndInvokeWeavers(
            TypeDefinition targetType,
            List<CustomAttribute> weaveAttributes)
        {
            Contract.Requires(targetType != null);
            Contract.Requires(weaveAttributes != null);
            Contract.Requires(weaveAttributes.All(customAttribute => customAttribute != null));

            foreach (var weaveAttribute in weaveAttributes)
            {
                this.GetWeaverFor(targetType, weaveAttribute).Weave(this, targetType, weaveAttribute);
            }
        }