전체 글301 11# 열거형 카운트 알아오기 123456789public static Int32 EnumCount() where T : IConvertible{ if (!typeof(T).IsEnum) throw new InvalidDataException("EnumCount, only support enum"); Int32 index = Enum.GetNames(typeof(T)).Length - 1; return index;}Colored by Color Scriptercs 열거형의 전체 카운트를 알아오는 함수 2017. 9. 22. 웹 GmTool 위에 메뉴는 자바스크립트 + 제이쿼리를 가져다가 사용했고, 우편함 시스템은 서버에 dll로 프로시저를 통해 보내도록 구현됨 UI는 css개발자가 따로 없어 혼자 조금이라도 예쁘게 구현.. 2017. 9. 22. 몽고디비 툴 robomongo url https://robomongo.org/download 2017. 9. 22. 검색 후 Print 찍기 1234db.getCollection('collectionName').find({"level" : {$eq : 50}} ).forEach(function(result) { print(result.user_key); });Colored by Color Scriptercs collectionName : 해당 디비 컬렉션 유저의 레벨 중 50인 목록을 찾아, user정보를 찍는다. 추가) 만약 유저 밸류만 필요하다면 print("" + result.user_key); 로 하면 된다. 2017. 9. 22. 이전 1 ··· 63 64 65 66 67 68 69 ··· 76 다음