This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Configuration; | |
| using System.Threading; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| namespace HelloDI | |
| { | |
| public class MainClass | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from datetime import * | |
| class ConsoleMessageWriter: | |
| def __init__(self): | |
| pass | |
| def write(self, message): | |
| print message | |
| class LoggedMessageWriter: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import xmlrpclib | |
| class comment: | |
| def __init__(self, content, author, author_url, author_email, comment_parent = 0): | |
| self.comment_parent = comment_parent | |
| self.content = content | |
| self.author = author | |
| self.author_url = author_url | |
| self.author_email = author_email |
NewerOlder