internal DefaultHatenaBlogAtomPubClient(HatenaBlogAtomPubCredential credential) { if (credential == null) { throw new ArgumentNullException(nameof(credential)); } this.credential = credential; this.rootEndPoint = GetRootEndPont(credential.HatenaId, credential.BlogId); }
public static HatenaBlogAtomPubClient Create(HatenaBlogAtomPubCredential credential) { return(new DefaultHatenaBlogAtomPubClient(credential)); }