コード例 #1
0
 public SassOptions(
     IReadOnlyList <string>?includePaths = default,
     string?indent               = default,
     bool indentedSyntax         = false,
     string?inputPath            = default,
     string?lineFeed             = default,
     bool?omitSourceMapUrl       = default,
     string?outputPath           = default,
     SassOutputStyle outputStyle = SassOutputStyle.Compact,
     int?precision               = default,
     bool?sourceComments         = default,
     bool?sourceMapContents      = default,
     bool?sourceMapEmbed         = default,
     string?sourceMapFile        = default,
     bool?sourceMapFileUrls      = default,
     string?sourceMapRoot        = default)
 {
     IncludePaths      = includePaths ?? new string[0];
     Indent            = indent;
     IndentedSyntax    = indentedSyntax;
     InputPath         = inputPath;
     LineFeed          = lineFeed;
     OmitSourceMapUrl  = omitSourceMapUrl;
     OutputPath        = outputPath;
     OutputStyle       = outputStyle;
     Precision         = precision;
     SourceComments    = sourceComments;
     SourceMapContents = sourceMapContents;
     SourceMapEmbed    = sourceMapEmbed;
     SourceMapFile     = sourceMapFile;
     SourceMapFileUrls = sourceMapFileUrls;
     SourceMapRoot     = sourceMapRoot;
 }
コード例 #2
0
ファイル: SassExterns.cs プロジェクト: yhforever4/Kooboo
 internal static void sass_option_set_output_style(IntPtr @sass_options /*options*/, SassOutputStyle @output_style)
 {
     if (IntPtr.Size == 4)
     {
         SassExterns32.sass_option_set_output_style(@sass_options, @output_style);
     }
     else
     {
         SassExterns64.sass_option_set_output_style(@sass_options, @output_style);
     }
 }
コード例 #3
0
ファイル: SassExterns32.cs プロジェクト: yhforever4/Kooboo
 internal static extern void sass_option_set_output_style(IntPtr @sass_options /*options*/, SassOutputStyle @output_style);
コード例 #4
0
 public SassCompilerOptions()
 {
     OutputStyle = SassOutputStyle.Nested;
 }