private string GetFilePath(StringGroup group) { var path = Path.Combine( _root, group.Path); if (!IsDefault(group)) path += "." + group.Language; return path + ".resx"; }
private bool Equals(StringGroup other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other._path, _path) && Equals(other._language, _language); }
private string GetFilePath(StringGroup group) { var path = Path.Combine( _root, group.Path); if (!IsDefault(group)) { path += "." + group.Language; } return(path + ".resx"); }
private bool Equals(StringGroup other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(other._path, _path) && Equals(other._language, _language)); }
private bool IsDefault(StringGroup group) { return group.Language == _defLangauge; }
private bool IsDefault(StringGroup group) { return(group.Language == _defLangauge); }