예제 #1
0
파일: Error.cs 프로젝트: sharpjs/Projector
        internal static Exception AssociatedObjectNotFound(object key, Type type, ProjectionObject projectionObject)
        {
            var message = string.Format
            (
                "Associated object not found for key '{0}' in {1}.  Expected type: {2}",
                key,
                projectionObject.ToString(),
                type.GetPrettyName(qualified: true)
            );

            return new KeyNotFoundException(message);
        }
예제 #2
0
 public virtual void SetUp()
 {
     Target = new FakeProjectionObject();
 }