Exemple #1
0
 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);
 }
Exemple #2
0
 private void __ctor()
 {
     if (string.IsNullOrWhiteSpace(Name))
     {
         throw new GlueException(StringConsts.CONFIGURATION_ENTITY_NAME_ERROR + this.GetType().FullName);
     }
     Glue.RegisterProvider(this);
 }