public ComponentTemplateExecutor(IComponentFactory componentFactory, IStyleSetter styleSetter, PropertySetter propertySetter, IOptions <AgpxOptions> agpxOptions) { this.componentFactory = componentFactory; this.styleSetter = (StyleSetter)styleSetter; this.propertySetter = propertySetter; this.agpxOptions = agpxOptions.Value; }
Boolean IEquatable <IStyleSetter> .Equals(IStyleSetter other) { return(other is CascadingAssignedStyle casc && Equals(casc)); }
public Boolean Equals(IStyleSetter other) { return(other is AssignedStyle assigned && Equals(assigned)); }