示例#1
0
        public string GetNameForMessagePair(CodeGenerationSdkMessagePair messagePair)
        {
            if (this._knowNames.ContainsKey(messagePair.Id.ToString()))
            {
                return(this._knowNames[messagePair.Id.ToString()]);
            }

            string validTypeName = this.CreateValidTypeName(messagePair.Request.Name);

            this._knowNames.Add(messagePair.Id.ToString(), validTypeName);

            return(validTypeName);
        }
 public bool GenerateSdkMessagePair(CodeGenerationSdkMessagePair messagePair)
 {
     return(true);
 }
示例#3
0
 public IEnumerable <string> GetCommentsForMessagePair(CodeGenerationSdkMessagePair messagePair)
 {
     return(Enumerable.Empty <string>());
 }