public void Add(ActorConvention <TActor> convention) { Guard.AgainstNull(convention, "convention"); if (_conventions.Any(existingConvention => existingConvention.GetType() == convention.GetType())) { return; } _conventions.Add(convention); }
public bool Matches(ActorConvention <TActor> convention) { return(typeof(PublicMethodsConvention <TActor>).Equals(convention.GetType())); }
public ActorFactoryConfigurator <TActor> AddConvention(ActorConvention <TActor> convention) { _conventions.Add(convention); return(this); }
public bool Matches(ActorConvention <TActor> convention) { return(typeof(PropertyChannelsConvention <TActor>).Equals(convention.GetType())); }