protected static bool IsArtifactOfDataSpace(string resource, DataSpace dataSpace) { switch (dataSpace) { case DataSpace.CSpace: return(MetadataArtifactLoader.IsCSpaceArtifact(resource)); case DataSpace.SSpace: return(MetadataArtifactLoader.IsSSpaceArtifact(resource)); case DataSpace.CSSpace: return(MetadataArtifactLoader.IsCSSpaceArtifact(resource)); default: return(false); } }