コード例 #1
0
 public ProjectWizardPageModel(IParameterSource source)
 {
     Source   = source;
     UsePCL   = SupportsPCL;
     UseNET   = !SupportsPCL;
     UseSAL   = false;
     Combined = true;
 }
コード例 #2
0
        public DataStreaming(IParameterSource parameterSource)
        {
            if (parameterSource == null)
            {
                throw new ArgumentNullException("parameterSource cannot be null");
            }

            _parameterProvider = new ParameterProvider(parameterSource);
        }
        public ParameterProvider(IParameterSource parameterSource)
        {
            if (parameterSource == null)
            {
                throw new ArgumentNullException("parameterSource cannot be null.");
            }

            this.parameterSource = parameterSource;
        }
コード例 #4
0
 public ProjectWizardPageModel(IParameterSource source, XElement optionsElement)
     : base(optionsElement)
 {
     Source          = source;
     UsePCL          = SupportsPCL;
     UseNET          = !SupportsPCL;
     UseSAL          = false;
     Separate        = false;
     Mode            = "code";
     IncludeSolution = false;
 }
コード例 #5
0
ファイル: ProjectWizardPageModel.cs プロジェクト: mhusen/Eto
		public ProjectWizardPageModel(IParameterSource source, XElement optionsElement)
			: base(optionsElement)
		{
			Source = source;
			UsePCL = SupportsPCL;
			UseNET = !SupportsPCL;
			UseSAL = false;
			Combined = true;
			UseCode = true;
            UseCodePreview = false;
            UseXeto = false;
            UseJeto = false;
		}
コード例 #6
0
        public HUDParameterList(IParameterSource source, float width, float row_height, float padding)
        {
            this.source = source;

            Width               = width;
            Padding             = padding;
            Spacing             = padding;
            Height              = row_height + 2 * padding;
            RowHeight           = row_height;
            LabelTextHeight     = RowHeight * 0.9f;
            EntryTextHeight     = LabelTextHeight;
            HorzParamLabelWidth = PaddedWidth * 0.5f;
        }
コード例 #7
0
 public ProjectWizardPageModel(IParameterSource source, XElement optionsElement)
     : base(optionsElement)
 {
     Source         = source;
     UsePCL         = SupportsPCL;
     UseNET         = !SupportsPCL;
     UseSAL         = false;
     Combined       = true;
     UseCode        = true;
     UseCodePreview = false;
     UseXeto        = false;
     UseJeto        = false;
 }
コード例 #8
0
 public ProjectWizardPageModel(IParameterSource source)
 {
     Source          = source;
     UsePCL          = SupportsPCL;
     UseNET          = !SupportsPCL;
     UseSAL          = false;
     Combined        = false;
     Mode            = "code";
     IncludeSolution = false;
     if (SupportsBase)
     {
         Base = "Panel";
     }
     if (SupportsFramework)
     {
         SelectedFramework = SupportedFrameworks[0];
     }
 }
コード例 #9
0
 public ProjectWizardPageModel(IParameterSource source, XElement optionsElement)
     : base(optionsElement)
 {
     Source          = source;
     UsePCL          = SupportsPCL;
     UseNET          = !SupportsPCL;
     UseSAL          = false;
     Combined        = false;
     Mode            = "code";
     IncludeSolution = false;
     if (SupportsBase)
     {
         Base = "Panel";
     }
     if (SupportsFramework)
     {
         SelectedFrameworks = new[] { SupportedFrameworks[0] }
     }
     ;
 }
コード例 #10
0
 public ParameterDecorator(ILessEngine underlying, IParameterSource parameterSource)
 {
     this.Underlying = underlying;
     this.parameterSource = parameterSource;
 }
コード例 #11
0
ファイル: ParameterDecorator.cs プロジェクト: xhute/Kooboo
 public ParameterDecorator(ILessEngine underlying, IParameterSource parameterSource)
 {
     this.Underlying      = underlying;
     this.parameterSource = parameterSource;
 }