protected Provider(IGlueImplementation glue, string name = null) : base(glue, name) { if (string.IsNullOrWhiteSpace(Name)) { throw new GlueException(StringConsts.CONFIGURATION_ENTITY_NAME_ERROR + this.GetType().FullName); } Glue.RegisterProvider(this); }
private void __ctor() { if (string.IsNullOrWhiteSpace(Name)) { throw new GlueException(StringConsts.CONFIGURATION_ENTITY_NAME_ERROR + this.GetType().FullName); } Glue.RegisterProvider(this); }