Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- public class Entity
- {
- public Entity(Guid id, string name)
- {
- Id = id;
- Name = name;
- }
- public Guid Id { get; private set; }
- public string Name { get; private set; }
- public bool IsValid
- {
- get
- {
- return Valid();
- }
- }
- private bool Valid()
- {
- return false;
- }
- }
Add Comment
Please, Sign In to add comment