Example #1
0
        public RoleCell(
            GridCoordinate coordinate,
            string role
        )
        {
            if (coordinate == null) throw new ArgumentNullException("coordinate");
            if (role == null) throw new ArgumentNullException("role");

            this.coordinate = coordinate;
            this.role = role;
        }
Example #2
0
        public Permission(
            GridCoordinate uriCoordinate,
            Uri permission,
            string shortName,
            string title
        )
        {
            if (uriCoordinate == null) throw new ArgumentNullException("coordinate");
            if (permission == null) throw new ArgumentNullException("permission");
            if (shortName == null) throw new ArgumentNullException("shortName");
            if (title == null) throw new ArgumentNullException("title");

            this.uriCoordinate = uriCoordinate;
            this.permission = permission;
            this.shortName = shortName;
            this.title = title;
        }