public static ActorPath From(Type type, string id) { if (type == null) { throw new ArgumentNullException("type"); } if (id == null) { throw new ArgumentNullException("id"); } if (string.IsNullOrWhiteSpace(id)) { throw new ArgumentException("An actor id cannot be empty or contain whitespace only", "id"); } return(new ActorPath(TypeCode.Find(type), id)); }
public Type RuntimeType() { return(TypeCode.Find(Code)); }