protected override PersistableType GetPersistable() { if (InnerSpec.ContainsFacet <INotPersistedFacet>()) { return(PersistableType.Transient); } if (InnerSpec.ContainsFacet <IProgramPersistableOnlyFacet>()) { return(PersistableType.ProgramPersistable); } return(PersistableType.UserPersistable); }
public bool ContainsFacet(Type facetType) { return(InnerSpec.ContainsFacet(facetType)); }
public bool ContainsFacet <T>() where T : IFacet { return(InnerSpec.ContainsFacet <T>()); }