Exemplo n.º 1
0
        internal PropertyWrapperMemberBuilderInfo GetPropWrapperMemberBuilderInfo(string propName)
        {
            PropertyWrapperMemberBuilderInfo propBuilderInfo =
                this.PropBuilderInfos.Single(builderInfo => builderInfo.WrapperSymbolName == propName);

            return(propBuilderInfo);
        }
Exemplo n.º 2
0
        public void SetPropBuilder(IMemberCodeBuilder <IPropertySymbol> propBuilder, params string[] propNames)
        {
            ThrowErrorIfCompleted();

            foreach (string propName in propNames)
            {
                PropertyWrapperMemberBuilderInfo propBuilderInfo =
                    GetPropWrapperMemberBuilderInfo(propName);

                propBuilderInfo.TheCodeBuilder = propBuilder;
            }
        }