public bool IsValid() { return(NumberOfInstances > 0 && GroupName != null && GroupName.IsValid() && GroupName.IsVersionGroup() && !string.IsNullOrEmpty(Name)); }
public bool IsValidRemoteRequest() { return(GroupName != null && GroupName.IsVersionGroup() && Contents != null && Adaptor != null && !string.IsNullOrEmpty(FileName) && Path.GetExtension(FileName).ToLowerInvariant() == ".zip"); }