public void Provide(Type type, ComponentData data) { var generate = !Attribute .GetCustomAttributes(type) .OfType <DontGenerateAttribute>() .Any(); data.ShouldGenerateMethods(generate); }
public void Provide(Type type, ComponentData data) { var generate = !Attribute .GetCustomAttributes(type) .OfType <DontGenerateAttribute>() .Any(); data.ShouldGenerateMethods(generate); }