Base class for meta configuration object: those objects configure the configuration.
Exemple #1
0
 void IProtoRouteConfigurationContext.AddMeta(MetaConfiguration meta)
 {
     if (meta == null)
     {
         throw new ArgumentNullException();
     }
     _metaConfigurations.Add(meta);
 }
Exemple #2
0
 void IProtoRouteConfigurationContext.AddMeta( MetaConfiguration meta )
 {
     if( meta == null ) throw new ArgumentNullException();
     _metaConfigurations.Add( meta );
 }
 /// <summary>
 /// Protected method to actually add any <see cref="MetaConfiguration"/> object.
 /// </summary>
 /// <param name="m">A meta configuration to add.</param>
 protected void AddMeta( MetaConfiguration m )
 {
     _configurations.Add( m );
 }