예제 #1
0
        public IOEmbedTweet CreateOEmbedTweet(IOEmbedTweetDTO oEmbedTweetDTO)
        {
            if (oEmbedTweetDTO == null)
            {
                return(null);
            }

            return(new OEmbedTweet(oEmbedTweetDTO));
        }
예제 #2
0
        // Generate OEmbedTweet from DTO
        public IOEmbedTweet GenerateOEmbedTweetFromDTO(IOEmbedTweetDTO oEmbedTweetDTO)
        {
            if (oEmbedTweetDTO == null)
            {
                return(null);
            }

            var parameterOverride = _mentionUnityFactory.GenerateParameterOverrideWrapper("oEmbedTweetDTO", oEmbedTweetDTO);
            var oEmbedTweet       = _oembedTweetUnityFactory.Create(parameterOverride);

            return(oEmbedTweet);
        }
예제 #3
0
        // Generate OEmbedTweet from DTO
        public IOEmbedTweet GenerateOEmbedTweetFromDTO(IOEmbedTweetDTO oEmbedTweetDTO)
        {
            if (oEmbedTweetDTO == null)
            {
                return null;
            }

            var parameterOverride = _mentionUnityFactory.GenerateParameterOverrideWrapper("oEmbedTweetDTO", oEmbedTweetDTO);
            var oEmbedTweet = _oembedTweetUnityFactory.Create(parameterOverride);

            return oEmbedTweet;
        }
예제 #4
0
 public OEmbedTweet(IOEmbedTweetDTO oEmbedTweetDTO)
 {
     _oembedTweetDTO = oEmbedTweetDTO;
 }
예제 #5
0
 public OEmbedTweet(IOEmbedTweetDTO oEmbedTweetDTO)
 {
     _oembedTweetDTO = oEmbedTweetDTO;
 }