Example #1
0
        public static string GetIndentedCodeWithRegion(PropertySignature propertySignature, DependencyPropertySignature dependencyPropertySignature)
        {
            var nonIndentedCodeWithRegion = GetNonIndentedCodeWithRegion(propertySignature, dependencyPropertySignature);

            return(IndentCode(nonIndentedCodeWithRegion));
        }
Example #2
0
 private DependencyPropertySignature(string rawSelection, string className)
 {
     property       = PropertySignature.FromRawSelection(rawSelection);
     enclosingClass = className;
 }
Example #3
0
        public static string GetNonIndentedCodeWithRegion(PropertySignature propertySignature, DependencyPropertySignature dependencyPropertySignature)
        {
            var nonIndentedCode = GetNonIndentedCode(propertySignature, dependencyPropertySignature);

            return(AddRegionToInput(propertySignature.PropertyName, nonIndentedCode));
        }